Minimap:GetZoomLevels

From Warcraft Wiki
Jump to navigation Jump to search

Returns the number of possible zoom levels of the Minimap.

zoomLevels = Minimap:GetZoomLevels()

Returns

zoomLevels
number

Details

  • The values returned by Minimap:GetZoom() and used as the parameter to Minimap:SetZoom() must be between zero and one less than the number of levels.