Maps examples/Map properties

From semantic-mediawiki.org
Maps examplesMaps examples/Map properties

Width and height

Setting the with and height of a map to absolute values in px.

{{#display_map:
 Moscow, Russia
 |width=500
 |height=300
}}
Loading map...

Setting the with of a map to a relative value in % of container width (in this case the page).

{{#display_map:
 Moscow, Russia
 |width=75%
}}
Loading map...


Zoom and centre

{{#display_map:
 Moscow, Russia
 |centre=Brussels
 |zoom=2
}}
Loading map...


Icon

{{#display_map:
 Moscow, Russia;New York City; Brussels, Belgium
 |icon=Green_marker.png
}}
Loading map...