Lore archive · Warcraft Wiki, 2023 dump
API SetMapZoom
Last wiki revision 2020-04-04
Sets what is displayed by the current world map to a specific continent and zone. SetMapZoom(continentIndex [,zoneIndex])
- continentIndex : Number - Specifies the continent corresponding to the numbers of GetMapContinents, in addition to 0 for Azeroth and -1 for the Cosmic map.
- zoneIndex : Number - Specifies the zone corresponding to the numbers of GetMapZones(continentIndex), omit for whole continent.
SetMapZoom(2, 10); -- Set the current map zoom of the world map to Elvynn Forrest. SetMapZoom(2); -- Shows the Eastern Kingdoms. SetMapZoom(0); -- Shows both continents. SetMapZoom(-1); -- Shows the cosmic map. WorldMapFrame:Show; ==
Source
https://warcraft.wiki.gg/wiki/API_SetMapZoom · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.