GetPlayerLocationName
ESO Lua API function — used by 35 of the 3,030 addons we indexed (combined 6,880,962 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetPlayerLocationName()Returns: string mapName
Real usage — from Votan's Minimap
local function SetMapTitleCurrentLocation(...)
return SetMapTitle(GetPlayerLocationName(), GetPlayerActiveSubzoneName())
endShort excerpt from the shipping addon Votan's Minimap — 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 |
|---|---|
| Votan's Minimap | 4,211,718 |
| Kill Counter | 577,202 |
| Wykkyd Toolbar | 567,448 |
| CyrHUD | 325,521 |
| Guild Hall Button | 266,680 |
| Shissu's Guild Tools | 186,581 |