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 by GetMapContinents(), or one of the following values) (number)

    • -1 - Cosmic map
    • 0 - Entire Azeroth map
    • 1 - Kalimdor
    • 2 - Eastern Kingdoms
    • 3 - Outland
    • 4 - Northrend
    • 5 - The Maelstrom
    • 6 - Pandaria
    • 7 - Draenor

  • zoneIndex - Index of a zone within the continent to display (in the list returned by GetMapZones(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)