MapTransformDelegate

Definition of a map transform delegate.

interface MapTransformDelegate

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getMapOptions
Link copied to clipboard

Get map options.

abstract fun getMapOptions(): MapOptions
getSize
Link copied to clipboard

Gets the size of the map.

abstract fun getSize(): Size
hashCode
Link copied to clipboard
open override fun hashCode(): Int
isGestureInProgress
Link copied to clipboard

Returns if a gesture is in progress.

abstract fun isGestureInProgress(): Boolean
isUserAnimationInProgress
Link copied to clipboard

Returns if user animation is currently in progress.

abstract fun isUserAnimationInProgress(): Boolean
setConstrainMode
Link copied to clipboard

Set the map constrain mode

abstract fun setConstrainMode(constrainMode: ConstrainMode)
setGestureInProgress
Link copied to clipboard

Notify map about gesture being in progress.

abstract fun setGestureInProgress(inProgress: Boolean)
setNorthOrientation
Link copied to clipboard

Set the map north orientation

abstract fun setNorthOrientation(northOrientation: NorthOrientation)
setUserAnimationInProgress
Link copied to clipboard

Tells the map rendering engine that the animation is currently performed by the user (e.g. with a setCamera() calls series). It adjusts the engine for the animation use case. In particular, it brings more stability to symbol placement and rendering.

abstract fun setUserAnimationInProgress(inProgress: Boolean)
setViewportMode
Link copied to clipboard

Set the map viewport mode

abstract fun setViewportMode(viewportMode: ViewportMode)
toString
Link copied to clipboard
open override fun toString(): String

Inheritors

MapboxMap
Link copied to clipboard