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 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 |
| LibZone | 1,937,031 |
| Crafting Stations | 907,236 |
| CyrHUD | 325,521 |