Maps examples/Map properties

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

Width and height[edit]

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[edit]

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


Icon[edit]

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