GetMapNameByID
Jump to navigation
Jump to search
C_Map.GetMapInfo |
+ 8.0.1 / 1.13.2 | ||
GetMapInfo |
+ 1.0.0 | ||
GetMapNameByID |
+ 4.0.3 |
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