WoW API < GetMapNameByID

Returns the localized name for a mapID.

mapname = GetMapNameByID(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

Example Edit

 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

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.