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_ZONEGUShort excerpt from the shipping addon SkyShards — 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 |
|---|---|
| SkyShards | 12,943,031 |
| Map Pins | 8,061,548 |
| LibQuestData | 4,916,044 |
| Votan's Minimap | 4,211,718 |
| LibTreasure | 1,915,463 |
| Votan's Fisherman | 1,662,523 |