GetMapContentType
ESO Lua API function — used by 49 of the 3,030 addons we indexed (combined 40,611,125 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetMapContentType()Returns: mapContentType
Real usage — from Destinations
SetMapToPlayerLocation()
while (GetMapContentType() == MAP_CONTENT_DUNGEON) or (GetMapType() == MAPTYPE_SUBZONE) or (GetMapType() == MAPTYPE_ZONE) do
GetMapTextureName()Short excerpt from the shipping addon Destinations — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| Destinations | 8,211,449 |
| Map Pins | 8,061,548 |
| Votan's Minimap | 4,211,718 |
| LibGPS | 4,027,526 |
| CustomCompassPins | 3,423,898 |
| RaidNotifier Updated | 2,789,746 |