GetCurrentMapId
ESO Lua API function — used by 48 of the 3,030 addons we indexed (combined 58,492,045 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetCurrentMapId()Returns: integer mapId
Real usage — from LoreBooks
local function GetCurrentMapIdentity()
return GetCurrentMapId(), LMP:GetZoneAndSubzone(true, false, true)
endShort excerpt from the shipping addon LoreBooks — 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 |
|---|---|
| LoreBooks | 13,090,355 |
| Destinations | 8,211,449 |
| Lost Treasure | 6,404,899 |
| LibQuestData | 4,916,044 |
| AwesomeGuildStore | 4,722,462 |
| LibSets (All set items ingame & preview. lua API + excel sheet) | 4,357,189 |