Wowpedia
Advertisement
Wowpedia
240,442
pages

This function obtains current zoom level of the Minimap.

Minimap:GetZoom()

Arguments
none

Returns
zoom 
current zoom level. Possible levels are 0 through to Minimap:GetZoomLevels() - 1

Example
local zoom = Minimap:GetZoom()

Description
Obtains the Minimap's current zoom level. The default minimap currently has six zoom levels: 0, 1, 2, 3, 4 and 5 with 0 being the smallest and 5 being the largest.
Advertisement