ESODecoded

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 Destinationsits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
Destinations8,211,449
Map Pins8,061,548
Votan's Minimap4,211,718
LibGPS4,027,526
CustomCompassPins3,423,898
RaidNotifier Updated2,789,746