Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
This is no longer a part of the World of Warcraft API.
|
Returns the full localized name of the zone specified by the mapID
mapName = GetMapNameByID(mapID)
Parameters[]
- mapID
- Number - The WorldMapAreaID whose localized name is required
Example[]
local mapName = GetMapNameByID(808) DEFAULT_CHAT_FRAME:AddMessage(mapName)
Shows the text The Wandering Isle localized to the current country
See Also[]
- GetCurrentMapAreaID to get the current map
- GetQuestWorldMapAreaID to get the map for the zone associated with a specific quest
- SetMapByID to set the current world map by area id