Widget API: Minimap:GetZoomLevels

From AddOn Studio
Jump to navigation Jump to search

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.