API GetMapNameByID

From Wowpedia
Jump to: navigation, search

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