Companion

Static methods and variables.

object Companion

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

TRANSITION_ZOOM_LEVEL
Link copied to clipboard

Zoom level threshold where MapboxMap will automatically switch projection from MapProjection.Mercator to MapProjection.Globe or vice-versa if MapProjectionDelegate.setMapProjection was configured to use MapProjection.Globe.

If MapboxMap is using MapProjection.Globe and current map zoom level is >= TRANSITION_ZOOM_LEVEL - map will use MapProjection.Mercator and MapProjectionDelegate.getMapProjection will return MapProjection.Mercator.

If MapboxMap is using MapProjection.Globe and current map zoom level is < TRANSITION_ZOOM_LEVEL - map will use MapProjection.Globe and MapProjectionDelegate.getMapProjection will return MapProjection.Globe.

If MapboxMap is using MapProjection.Mercator - map will use MapProjection.Mercator for any zoom level and MapProjectionDelegate.getMapProjection will return MapProjection.Mercator.

const val TRANSITION_ZOOM_LEVEL: Double