Creating a map: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
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 pin ect. | 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 pin ect. | ||
# First Create a geojson page. | # 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" | ||
# <div style="float:left"><inputbox> | # <div style="float:left"><inputbox> | ||
type=create | type=create | ||
Line 9: | Line 9: | ||
buttonlabel=Create GeoJson Page | buttonlabel=Create GeoJson Page | ||
</inputbox></div> | </inputbox></div> | ||
# Save the GeoJson page. This is were the pins and markers information will be stored. | |||
# 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" | |||
#<div style="float:left"><inputbox> | |||
type=create | |||
width=30 | |||
break=no | |||
placeholder=Enter the page name | |||
buttonlabel=Create Page | |||
</inputbox></div> | |||
# Add the code bellow to the page. Make srue to replace <name> with the name of your GeoJason. | |||
<nowiki>{{#display_map: | GeoJson=<name>}}</nowiki> | |||
replace <name> with the name of the geojson page you created. Example "geojson=RadensMapInfo" | |||
replace <name> with the name of the geojson page you created. Example "geojson= |
Revision as of 20:06, 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 pin ect.
- 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"
- Save the GeoJson page. This is were the pins and markers information will be stored.
- 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"
- Add the code bellow to the page. Make srue to replace <name> with the name of your GeoJason.
{{#display_map: | GeoJson=<name>}}
replace <name> with the name of the geojson page you created. Example "geojson=RadensMapInfo"