Widget API: Minimap:GetZoomLevels

Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API Minimap GetZoomLevels to API Minimap GetZoomLevels without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.