Actions

Widget

Difference between revisions of "AncientMap"

From Dragon Eye Atlas

(Created page with "<noinclude> == Mapbox-GL-JS Map Widget == Shows the ancient (pre-destruction) map of Auseka === Parameters === * lon, lat, zoom - longitude, latitude and zoom for the map (d...")
(No difference)

Revision as of 16:01, 24 September 2019

Mapbox-GL-JS Map Widget

Shows the ancient (pre-destruction) map of Auseka

Parameters

  • lon, lat, zoom - longitude, latitude and zoom for the map (defaults: 1, 30, 4)
  • width, height - dimensions of the map itself on the page, in px or % (defaults: 50%, 400px)
  • bounds - optional bounds array, replaces lon,lat,zoom
  • showrealm - highlight the realm given (short name)

Examples

  • {{#widget:Mapbox|bounds=[[0, 25], [8, 31]]}}
  • {{#Widget:Mapbox|lat=31|lon=-15.5|zoom=3}}