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.

Parameters

map 
Required The ID of the map to display.
zoom 
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.
clear 
The type of clear applied around the map container. Choices of left, right or both. Defaults to both.
region 
Optional. Only specify if the API disagrees with the region between v2/maps and v2/continents. [1]
floor 
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.
localtiles 
Optional. If set, will use wiki tiles instead of the API. Only useful if the tiles exist in Category:Map raster tiles.

Notes