Creating a map: Difference between revisions

From Verra Vip
Jump to navigation Jump to search
No edit summary
No edit summary
Line 55: Line 55:
default=GeoJson:
default=GeoJson:
buttonlabel=Create GeoJson Page
buttonlabel=Create GeoJson Page
</inputbox></div><br>
</inputbox></div>
<br>
|- style="height: 23px;"
|- style="height: 23px;"
| style="width: 2.69321%; height: 23px;" |
| style="width: 2.69321%; height: 23px;" |
<br>
<br>
| style="width: 97.3068%; height: 23px;" | Example: "geojson:RadensMapInfo"
| style="width: 97.3068%; height: 23px;" | Example: "geojson:RadensMapInfo"
|-
| style="width: 2.69321%;" | <br>
| style="width: 97.3068%;" | <br>
|- style="height: 23px;"
|- style="height: 23px;"
| style="width: 2.69321%; height: 23px;" | 2.<br>
| style="width: 2.69321%; height: 23px;" | 2.<br>
| style="width: 97.3068%; height: 23px;" | Save the GeoJson page. This is were the pins and markers information will be stored.
| style="width: 97.3068%; height: 23px;" | Save the GeoJson page. This is were the pins and markers information will be stored.
|-
| style="width: 2.69321%;" | <br>
| style="width: 97.3068%;" | <br>
|- style="height: 23px;"
|- style="height: 23px;"
| style="width: 2.69321%; height: 23px;" | 3.<br>
| style="width: 2.69321%; height: 23px;" | 3.<br>
Line 84: Line 91:
placeholder=Enter the page name
placeholder=Enter the page name
buttonlabel=Create Page
buttonlabel=Create Page
</inputbox></div><br>
</inputbox></div>
<br>
|- style="height: 23px;"
|- style="height: 23px;"
| style="width: 2.69321%; height: 23px;" |
| style="width: 2.69321%; height: 23px;" |
Line 96: Line 104:
|- style="height: 23px;"
|- style="height: 23px;"
| style="width: 2.69321%; height: 23px;" |
| style="width: 2.69321%; height: 23px;" |
5.
<br>
<br>
| style="width: 97.3068%; height: 23px;" |
| style="width: 97.3068%; height: 23px;" |
<br>
Add the code bellow to the page. Make sure to replace <name> with the name of your GeoJason.
|-
| style="width: 2.69321%;" | <br>
| style="width: 97.3068%;" | <nowiki>{{#display_map: | GeoJson=<name>}}</nowiki>
|}
|}

Revision as of 20:23, 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.

 

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>}}

replace <name> with the name of the geojson page you created. Example "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.




Example "geojson=RadensMapInfo"



5.

Add the code bellow to the page. Make sure to replace <name> with the name of your GeoJason.


{{#display_map: | GeoJson=<name>}}