Examples/Point specific data

From Mapping on MediaWiki
Jump to: navigation, search

Point specific data via tag extension in the format Location|Title|Label|Icon

<display_points type="terrain">
Moscow, Russia|Moscow|A city in Russia
New York|New York city
London|[[London]]|Capital of England|File:Green marker.png
Brussels
Mali|Mali||File:Blue marker.png
</display_points>
Loading map...
Warning: There is an error in your syntax.

Point specific data via parser function in the format Location~Title~Label~Icon

{{
#display_points:
Moscow, Russia~Moscow~A city in Russia;
New York~New York city;
London~[[London]]~Capital of England~File:Green marker.png;
Brussels;
Mali~Mali~~File:Blue marker.png
}}
Loading map...
The following error has been detected in your syntax:
* Parameter coordinates must be one or more valid locations.

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 pictures are.

<display_points type="terrain">
Moscow, Russia|Moscow|A city in Russia
New York|New York city
London|[[London]]|Capital of England|http://mapping.referata.com/w/images/Green_marker.png
Brussels
Mali|Mali||File:Blue marker.png
</display_points>
Loading map...
Warning: There is an error in your syntax.