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!

Widget:MapTest

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

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

This widget can only be used once per page.

This is a work in progress.

Parameters

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
The URL to a csv with locations and in-game coordinates to be displayed as markers. Example.
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.


Thanks to Dr Ishmael.