CameraAnimation
data class CameraAnimation(val camera: CameraOptionsFactory? = null, val durationMillis: Long = CAMERA_UPDATE_ANIMATION_DURATION_MS, val trackingMode: CameraTrackingMode, val keepOnUserGesture: Boolean = false, val debugName: String? = null)
Parameters
camera
a lambda to build the CameraOptions on the given MapboxMap. No animation will be triggered if null is returned.
keepOnUserGesture
true to make animation non-cancelable by user gestures.
Constructors
Link copied to clipboard
constructor(camera: CameraOptionsFactory? = null, durationMillis: Long = CAMERA_UPDATE_ANIMATION_DURATION_MS, trackingMode: CameraTrackingMode, keepOnUserGesture: Boolean = false, debugName: String? = null)