Actions

Widget

AncientMap

From Dragon Eye Atlas

Revision as of 16:01, 24 September 2019 by Tom (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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}}