ESODecoded

GetPOIMapInfo

ESO Lua API function — used by 30 of the 3,030 addons we indexed (combined 24,954,190 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetPOIMapInfo(luaindex zoneIndex, luaindex poiIndex)

Returns: number normalizedX, number normalizedZ, poiPinType, textureName icon, bool isShownInCurrentMap, bool linkedCollectibleIsLocked, bool isDiscovered, bool isNearby

Real usage — from Destinations


    local normalizedX, normalizedY, poiPinType, icon, isShownInCurrentMap, linkedCollectibleIsLocked, isDiscovered, isNearby = GetPOIMapInfo(zoneIndex,
      poiIndex)

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
LibZone1,937,031
Crafting Stations907,236
CyrHUD325,521