UserControlledCameraState

data class UserControlledCameraState(val cameraTrackingModeBefore: CameraTrackingMode, val pitch: Double? = 0.0, val keepOnUserGesture: Boolean = true) : CameraState

Camera state for the case when camera is controlled by the user.

Parameters

cameraTrackingModeBefore

CameraTrackingMode before the user took control.

keepOnUserGesture

true if animation to the camera state must continue even on user gesture.

Constructors

Link copied to clipboard
constructor(cameraTrackingModeBefore: CameraTrackingMode, keepOnUserGesture: Boolean = true)
constructor(cameraTrackingModeBefore: CameraTrackingMode, pitch: Double? = 0.0, keepOnUserGesture: Boolean = true)

Properties

Link copied to clipboard
open val bearing: Double?
Link copied to clipboard
Link copied to clipboard
open override val duration: Long
Link copied to clipboard
open override val keepOnUserGesture: Boolean = true
Link copied to clipboard
open override val pitch: Double? = 0.0
Link copied to clipboard
open val target: Point?
Link copied to clipboard
open override val type: CameraState.Type
Link copied to clipboard
open val zoom: Double?

Functions

Link copied to clipboard