MapTransformDelegate

interface MapTransformDelegate

Definition of a map transform delegate.

Functions

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

Get map options.

getSize
Link copied to clipboard
abstract fun getSize(): Size

Gets the size of the map.

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

Returns if a gesture is in progress.

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

Returns if user animation is currently in progress.

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

Set the map constrain mode

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

Notify map about gesture being in progress.

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

Set the map north orientation

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

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.

setViewportMode
Link copied to clipboard
abstract fun setViewportMode(viewportMode: ViewportMode)

Set the map viewport mode

Inheritors

MapboxMap
Link copied to clipboard