Zooms

open class Zooms

Map zoom parameters

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val DEFAULT: Float = 17.0f
Link copied to clipboard
Link copied to clipboard
If zoomed out at least this far, when in auto-tracking mode, we will zoom in on user position
Link copied to clipboard
val NAVIGATION_MODE: Float = 21.0f
Link copied to clipboard
Link copied to clipboard
val PREVIEW_MODE: Float = 20.0f

Functions

Link copied to clipboard
Link copied to clipboard
open fun toMapBounds(mercatorVector: List<Mercator>): MapstedMapBounds
Will extract min/max bounds from mercatorVector with default fit
open fun toMapBounds(mercatorVector: List<Mercator>, deltaRatioX: Double, deltaRatioY: Double, minDeltaX: Double, minDeltaY: Double): MapstedMapBounds
Will extract min/max bounds from mercatorVector
Link copied to clipboard
open fun toMapBoundsTightFit(mercatorVector: List<Mercator>): MapstedMapBounds
Will extract min/max bounds from mercatorVector with a tight fit