Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
SetMapZoom -Documentation by Meog-

Sets what is displayed by the current world map to a specific continent and zone.

SetMapZoom(continentIndex [,zoneIndex])

Arguments
(continentIndex [,zoneIndex])
continentIndex
Number - Specifies the continent corresponding to the numbers of GetMapContinents(), or 0 for whole world.
zoneIndex
Number - Specifies the zone corresponding to the numbers of GetMapZones(continentIndex), omit for whole continent.

Example
SetMapZoom(2, 10); -- 1.
SetMapZoom(2, nil); -- 2.
SetMapZoom(2); -- 2.
SetMapZoom(0); -- 3.
Result
1. Set the current map zoom of the world map to Elvynn Forrest.
2. Shows the Eastern Kingdoms
3. Shows both continents



Template:WoW API