WoW:API Minimap GetZoomLevels: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
({{widgetmethod}})
Line 1: Line 1:
{{widgetmethod}}
This function obtains current zoom level of the Minimap.
This function obtains current zoom level of the Minimap.


Line 21: Line 23:


: Obtains the Minimap's maximum zoom level.
: Obtains the Minimap's maximum zoom level.
----
Go to [[Widget API|World of Warcraft Widget API]]<br>
Go to [[Interface Customization]]
{{Template:WoW API}}

Revision as of 12:16, 10 June 2006

Widget API ← Minimap < GetZoomLevels

This function obtains current zoom level of the Minimap.

Minimap:GetZoomLevels()

Arguments
none

Returns
maximum_zoom
The highest zoom level allowed for Minimap:SetZoom()

Example
local maximum_zoom = Minimap:GetZoomLevels()

Description
Obtains the Minimap's maximum zoom level.