Sets the world map to show a specific zone or continent
See also Map functions.
Signature:
SetMapZoom(continentIndex [, zoneIndex])
Arguments:
continentIndex- Index of a continent to display (in the list returned byGetMapContinents(), or one of the following values) (number)-1- Cosmic map0- Entire Azeroth map1- Kalimdor2- Eastern Kingdoms3- Outland4- Northrend5- The Maelstrom6- Pandaria7- Draenor
zoneIndex- Index of a zone within the continent to display (in the list returned byGetMapZones(continentIndex)), or omitted to show the continent map (number)
Examples:
-- show the cosmic map
SetMapZoom( -1 )
-- show all the azeroth continents
SetMapZoom( 0 )
-- show the outland continent
SetMapZoom( 3 )
-- show dun morogh
SetMapZoom( 2, 7)