WoW:API SetMapZoom
Sets the zoom to a specific zone
SetMapZoom(continent, zone)
- Arguments
- Number continent, Number zone
- continent
- number specifies the continent corresponding to the numbers of GetCurrentMapContinent
- zone
- number specifies the zone corresponding to the numbers of GetCurrentMapZone
- Returns
- nil
- Example
SetMapZoom(2, 10); -- 1. SetMapZoom(2, nil); -- 2. SetMapZoom(0, nil); -- 3.
- Result
1. Set the current map zoom of the world map to Elvynn Forrest. 2. Shows the Eastern Kingdoms 3. Shows both continents
- Description
- Sets the zoom to a specific zone.