WoW:API SetMapZoom: Difference between revisions

m
Move page script moved page API SetMapZoom to WoW:API SetMapZoom without leaving a redirect
({{wowapi}}, formatting, cosmic map.)
m (Move page script moved page API SetMapZoom to WoW:API SetMapZoom without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:


==Example==
==Example==
  SetMapZoom(2, 10); -- 1.
  SetMapZoom(2, 10); -- Set the current map zoom of the world map to Elvynn Forrest.
  SetMapZoom(2); -- 2.
  SetMapZoom(2); -- Shows the Eastern Kingdoms.
  SetMapZoom(0); -- 3.
  SetMapZoom(0); -- Shows both continents.
  SetMapZoom(-1); -- 4.
  SetMapZoom(-1); -- Shows the cosmic map.
  WorldMapFrame:Show();
  WorldMapFrame:Show();
===Results===
==
# Set the current map zoom of the world map to Elvynn Forrest.
# Shows the Eastern Kingdoms
# Shows both continents
# Shows the cosmic map.
Anonymous user