CameraController

Controls camera-specific features on the map. Allows camera management and user interactions with the camera.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Registers the CameraChangeListener that will be notified about any change of the camera properties.

Link copied to clipboard

Registers the CameraSteadyListener that will be notified when the camera becomes steady after applying changes on its properties.

Link copied to clipboard
abstract fun animateCamera(options: CameraOptions, animationDuration: Duration? = DEFAULT_ANIMATION_DURATION): Cancellable
abstract fun animateCamera(options: CameraOptions, actionCallback: AnimateCameraCallback, animationDuration: Duration? = DEFAULT_ANIMATION_DURATION): Cancellable

Moves the camera according to the given CameraOptions and animates the transition.

Link copied to clipboard
abstract fun moveCamera(options: CameraOptions)

Immediately moves camera according to the given CameraOptions.

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

The current CameraPosition.

Link copied to clipboard
Link copied to clipboard
abstract val maxZoom: Double

Provides a maximum available value for the CameraOptions.zoom attribute.

Link copied to clipboard
abstract val minZoom: Double

Provides a minimum available value for the CameraOptions.zoom attribute.

Inheritors

Link copied to clipboard