GetMapName
ESO Lua API function — used by 50 of the 3,030 addons we indexed (combined 32,239,572 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetMapName()Returns: string mapName
Real usage — from SkyShards
MyPrint(zo_strformat("<<1>>: <<2>>\195\151<<3>> (<<4>>/<<5>>)", GetMapName(), locX, locY, LMP:GetZoneAndSubzone(false, true)))
Short 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 |
| LibMapPins | 5,838,255 |
| Votan's Minimap | 4,211,718 |
| RaidNotifier Updated | 2,789,746 |
| LibTreasure | 1,915,463 |
| MiniMap by Fyrakin [Masteroshi430's branch] | 1,392,567 |