GetCurrentMapIndex
ESO Lua API function — used by 57 of the 3,030 addons we indexed (combined 39,941,292 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetCurrentMapIndex()Returns: luaindex:nilable index
Real usage — from SkyShards
local mapIndex = GetCurrentMapIndex()
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 |
| LibSets (All set items ingame & preview. lua API + excel sheet) | 4,357,189 |
| Votan's Minimap | 4,211,718 |
| LibGPS | 4,027,526 |
| CustomCompassPins | 3,423,898 |
| LibMapData | 2,291,531 |