Help:Maps (Info boxes)
See Help:Maps
Tag syntax and automatic opening info windows
<display_map> london|London|Capital of the UK </display_map>
Using per point parameters
|
|
From https://www.semantic-mediawiki.org/wiki/Maps_examples/Google_Maps_visited_icon |
Currently broken when not specifying the image path directly (view bug)
{{#display_map:
50.958426723359935,10.2392578125~Germany~ ~ ~ ~ ~File:Green_marker.png;
46.98025235521883,2.4169921875~France~ ~ ~ ~ ~File:Blue_marker.png;
50.764259357116465,4.6142578125~Belgium
}}
Parser function
|
|
From https://www.semantic-mediawiki.org/wiki/Maps_examples/Google_Maps_with_point_specific_data |
- marker uploaded to the wiki
{{#display_map:
Moscow, Russia~Moscow~A city in Russia;
New York~New York city;
London~[[London]]~Capital of England~Green marker.png;
Brussels;
Mali~Mali~~Blue marker.png
}}
[[#ref_{{{1}}}|^]] In Maps 3.x, you can still use customized markers by specifying the marker files without name space as this example shows. See issue 51 for more information.
- external source of the marker
{{#display_map:
Moscow, Russia~Moscow~A city in Russia;
New York~New York city;
London~[[London]]~Capital of England~https://www.semantic-mediawiki.org/w/images/c/ce/Green_marker.png;
Brussels;
Mali~Mali~~https://www.semantic-mediawiki.org/w/images/6/6f/Blue_marker.png
}}
[[#ref_{{{1}}}|^]] Same as the first example but with an icon from an external source. Usually icons are pictures which have been uploaded to the wiki and are accessed the same way files are.
Using the tag
- marker uploaded to the wiki
<display_map type="terrain"> Moscow, Russia~Moscow~A city in Russia New York~New York city London~[[London]]~Capital of England~Green_marker.png Brussels Mali~Mali~~Blue_marker.png </display_map>
- external source of the marker
<display_map type="terrain"> Moscow, Russia~Moscow~A city in Russia New York~New York city London~[[London]]~Capital of England~https://www.semantic-mediawiki.org/w/images/c/ce/Green_marker.png Brussels Mali~Mali~~https://www.semantic-mediawiki.org/w/images/6/6f/Blue_marker.png </display_map>
[[#ref_{{{1}}}|^]] Same as the first example but with an icon from an external source. Usually icons are pictures which have been uploaded to the wiki and are accessed the same way files are.
{{#set:
|Has example=Maps |Uses service=googlemaps |Has description=Basic map with point specific data |Has category=basic |Uses option=-/- → per overlay meta data
}}
External links
| ||||||||