CameraController

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

Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

Link copied to clipboard

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

Link copied to clipboard

Registers the OnCameraSteadyListener 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: AnimationDuration? = AnimationDuration.createDefault()): Cancellable
abstract fun animateCamera(options: CameraOptions, animationDuration: AnimationDuration? = null, actionCallback: OnCancellableActionCallback): Cancellable

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

Link copied to clipboard

Provides the current CameraPosition.

Link copied to clipboard

Provides the current CameraTrackingMode.

Link copied to clipboard
abstract fun changeCameraTrackingMode(trackingMode: CameraTrackingMode)

Changes the CameraTrackingMode.

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

Immediately moves camera according to the given CameraOptions.

Properties

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