ESODecoded

PingMap

ESO Lua API function — used by 35 of the 3,030 addons we indexed (combined 36,699,316 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

PingMap([MapDisplayPinType|#MapDisplayPinType] pingType, [MapDisplayType|#MapDisplayType] mapDisplayType, number normalizedX, number normalizedZ, object mapDisplay)

Real usage — from SkyShards

        duplicates = function(pin1, pin2) return (pin1.m_PinTag[SKYSHARDS_PINDATA_ACHIEVEMENTID] == pin2.m_PinTag[SKYSHARDS_PINDATA_ACHIEVEMENTID] and pin1.m_PinTag[SKYSHARDS_PINDATA_ZONEGUIDEINDEX] == pin2.m_PinTag[SKYSHARDS_PINDATA_ZONEGU

Short excerpt from the shipping addon SkyShardsits 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
SkyShards12,943,031
Map Pins8,061,548
LibQuestData4,916,044
Votan's Minimap4,211,718
LibTreasure1,915,463
Votan's Fisherman1,662,523