WoW:API Minimap GetZoomLevels: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API Minimap GetZoomLevels to API Minimap GetZoomLevels without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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}}

Latest revision as of 04:46, 15 August 2023

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.