API GetMapNameByID

104,549pages on
this wiki
Add New Page
Add New Page Talk0
WoW API < GetMapNameByID
mapname = GetMapNameByID(mapID)

Returns the localized name for a mapID.

Parameters Edit

  • mapID (number) - The mapID of the map to retrieve the name for

Returns Edit

  • mapname (string) - The real name of an instance or zone map


 mapID = GetCurrentMapAreaID()
 mapname = GetMapNameByID(mapID);
 print("Map:"..mapname );
An message appears in the chat window showing the following text: "Map: The Stockade"

See also Edit

Also on Fandom

Random Wiki