Widget:Zone map v2

From Guild Wars 2 Wiki
Jump to: navigation, search

This widget uses Leaflet.js and the official map API to display interactive maps on the wiki. This specific widget displays the map completion objectives for a specific explorable zone.

This widget can only be used once per page.


Required The ID of the map to display.
Initial zoom level for the map. Default is 4.
height / width 
Minimum height and width of the map pane, in pixels. Default for both is 800.
The type of clear applied around the map container. Choices of left, right or both. Defaults to both.
Optional. Only specify if the API disagrees with the region between v2/maps and v2/continents. [1]
Optional. Only specify if the API disagrees with the floor between v2/maps and v2/continents.
centerX / centerY 
Optional. Override default XY center coordinates upon page load.
Optional. If set, will use wiki tiles instead of the API. Only useful if the tiles exist in Category:Map raster tiles.