Links |
---|
This function obtains the number of possible zoom levels of the Minimap
Minimap:GetZoomLevels()
- Arguments
- none
- Returns
- zoom_levels
- The number of different zoom levels that the Minimap can be set to.
- Example
local maximum_zoom = Minimap:GetZoomLevels()
- Description
- Obtains the number of differerent Minimap zoom levels.
- The values returned by
Minimap:GetZoom()
and used as the parameter toMinimap:SetZoom()
must be between zero and one less than the number of levels.