WoW API: SetMapToCurrentZone
← WoW API < SetMapToCurrentZone
Sets the current world map continent and zone to be the zone the player is currently in.
SetMapToCurrentZone()
ExampleEdit
SetMapToCurrentZone();
ResultEdit
World map zoom changes (if necessary).
DetailsEdit
After an interface reload, this function only sets the zoom to the continent the player is on and not to the zone until the zone changes at least once.