ESODecoded

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())
	end

Short excerpt from the shipping addon Votan's Minimapits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
Votan's Minimap4,211,718
Kill Counter577,202
Wykkyd Toolbar567,448
CyrHUD325,521
Guild Hall Button266,680
Shissu's Guild Tools186,581