Thank you for visiting SotAwiki, a Shroud of the Avatar Wiki Encyclopedia. If you see any information that is outdated, please take the time to update it, or if you prefer, leave a message for other editors. This community wiki is for the benefit of all Avatars!

Template:Map

From Shroud of the Avatar Wiki - SotA
Jump to navigation Jump to search


Template documentation (for the above template, sometimes hidden or invisible)

This template uses Leaflet.js and Fenyx4's Tile Map Service to display interactive maps on the wiki.

This is a work in progress.

Parameters[edit]

continentid
The continent to map. Defaults to Novia (1). Other option is Hidden Vale (2).
sceneid
The scene to map. Defaults to none. See API for complete list.
centerX
Initial X location. Default is 150.
centerY
Initial Y location. Default is 150.
zoom
Initial zoom level for the map. Default is 1.
height / width
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.
hideAttribution
Hide the attribution. 0 for false. 1 for true. Default is false.
hideZoom
Hide the zoom. 0 for false. 1 for true. Default is false.
layerGroupQuery1
A SMW query for page's with coordinates to display on the map.
layerGroupName1
The name of the layer group.
layerGroupQuery2
Same as layerGroupQuery1.
layerGroupName2
Same as layerGroupName1.
layerGroupQuery3
Same as layerGroupQuery1.
layerGroupName3
Same as layerGroupName1.
markerQuery
Same as above but this just adds markers without them being in a layer.
markers
List of manually entered marker locations. Ex: Ardoris,336.7,-397.0;Solace Bridge,436.2,-209.5

Thanks to Dr Ishmael.

Example[edit]

Visit Template:Map/doc to edit this text! (How does this work?)