Template:Interactive map

From FHX Wiki
Revision as of 03:45, 20 August 2024 by Ryzuhr (talk | contribs)

Description

This is the Interactive map template. It should be transcluded in the following format:

{{Interactive map
|map=
|N=
|E=
|name=
|description=
|radius=
|center=
|zoom=
|height=
|width=
}}

Parameters

map
Required. Map to display. Defaults to Idios. Options:
Glorious Imperial Territory
Idios
Depthless Orifice
Great Rebellion
Snow Storm
The Forest of the Abandoned
The Valley Of Blood
N
Required. In-game N coordinate (N from world map, or y from /location).
E
Required. In-game E coordinate (E from world map, or x from /location).
name
Optional. Marker title.
description
Optional. Marker description.
radius
Optional. Include to increase circle radius (min. 1).
center
Optional. Include to center map on an area/region in Glorious Imperial Territory or Idios. Defaults to Rog Imperial City. In instanced maps, defaults to map origin. Otherwise, centers the map on provided coordinates. Options:
Rog Imperial City
Central
Northeast
East
Southeast
South
Southwest
West
Northwest
Rog Imperial Castle Area
Green Valley
Silent Woods
Midland
Dusty Gorge
Palmas
Tranquil Swamp
Giants' Territory
zoom
Optional. Include to adjust the default zoom level. Low number zooms out, higher number zooms in.
height
Optional. Include to adjust the height of the map widget (eg. 250). Defaults to auto.
width
Optional. Include to adjust the width of the map widget (eg. 250). Defaults to auto.

Example

{{interactive map|map=Glorious Imperial Territory|N=1153|E=-376}}
Loading map...
{{interactive map|map=Idios|N=-2275|E=-3640|name=Small Fog Wolf|circle=on}}
Loading map...
{{interactive map|map=Depthless Orifice/50+|N=-70|E=-693|name=Cultist Priest|circle=on|radius=1|zoom=4}}
Loading map...
{{interactive map|map=The Forest of the Abandoned|N=-426|E=-318|name=Elcaven|circle=on|radius=1|zoom=4}}
Loading map...

TODO

  • Cluster function
  • Set up overlays and/or layers for area labels (similar to current V1 world map)
  • Upload lower res "clean" versions of each map to display as thumbnails in location infoboxes.
    • Under consideration - very low priority at the moment.