Creating a map: Difference between revisions
Jump to navigation
Jump to search
m Protected "Creating a map" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
No edit summary |
||
Line 69: | Line 69: | ||
<br> | <br> | ||
| style="width: 97.3068%; height: 23px;" | | | style="width: 97.3068%; height: 23px;" | | ||
<br> | You can protect your map from being edited by going to the GeoJson page and protecting it. Note: you will not be able to edit the map if it is protected, you will need to unprotect the map to be able to edit it again.<br> | ||
|- | |- | ||
| style="width: 2.69321%;" | <br> | | style="width: 2.69321%;" | <br> | ||
| style="width: 97.3068%;" | | | style="width: 97.3068%;" | | ||
<br> | https://i.ibb.co/Jx97fFY/Protect-Map.png<br> | ||
|} | |} |
Revision as of 21:34, 21 November 2024
To create a new editable map you will have to create a map page, as well as a geojson page to hold all the data for the pins and markers.
Step By Step Guide
1. |
First Create a geojson page. After the page is created, save the page. The name must not be in use if you want to create a new map. |
|
|
|
Example: " geojson:RadensMapInfo " |
2. |
Save the GeoJson page. This is were the pins and markers information will be stored. |
3. |
Next create a regular page were your map will be. The page name must not be in use if you are creating a new map. Example: "Radens Map" |
|
|
4. |
When the page code loads, edit the line called " |geojson=<name> " and replace <name> with the name of the GeoJson page you created. |
|
Example " |geojson=RadensMapInfo " |
|
|
|
You can protect your map from being edited by going to the GeoJson page and protecting it. Note: you will not be able to edit the map if it is protected, you will need to unprotect the map to be able to edit it again. |
|