Creating a map: Difference between revisions
No edit summary |
No edit summary |
||
Line 33: | Line 33: | ||
<br>6. Add the code bellow to the page. Make sure to replace <name> with the name of your GeoJason. | <br>6. Add the code bellow to the page. Make sure to replace <name> with the name of your GeoJason. | ||
<nowiki>{{#display_map: | GeoJson=<name>}}</nowiki> | <nowiki> {{#display_map: | GeoJson=<name>}}</nowiki> | ||
Example <nowiki>{{#display_map: | GeoJson=<RadensMapInfo}}</nowiki> | | ||
Example <nowiki>{{#display_map: | GeoJson=<RadensMapInfo}}</nowiki> | |||
Revision as of 20:35, 21 November 2024
To create a new editable map you will have to create the actual 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"
3. Save the GeoJson page. This is were the pins and markers information will be stored.
4. 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"
6. Add the code bellow to the page. Make sure to replace <name> with the name of your GeoJason.
{{#display_map: | GeoJson=<name>}}
Example {{#display_map: | GeoJson=<RadensMapInfo}}
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. |
Add the code bellow to the page. Make sure to replace <name> with the name you gave your GeoJason page. |
|
{{#display_map: | GeoJson=<name>}} |
|
Example "geojson=RadensMapInfo" |
|
|
|
|
|