WoW:API SetMapZoom: Difference between revisions

m
The results' numbered list was confusing since the same range of numbers are used when calling SetMapZoom()
({{wowapi}}, formatting, cosmic map.)
m (The results' numbered list was confusing since the same range of numbers are used when calling SetMapZoom())
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.