Help:Maps (Info boxes)

From Saintapedia
Revision as of 15:41, 20 June 2017 by >Tomoneill (add navbox)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

See Help:Maps

Tag syntax and automatic opening info windows

<display_map>
london|London|Capital of the UK
</display_map>
Loading map...

Using per point parameters

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
}}
Loading map...

Parser function

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.

Loading map...


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


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>
Loading 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.

Loading map...

{{#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