CameraAnimation

constructor(camera: CameraOptionsFactory? = null, durationMillis: Long = CAMERA_UPDATE_ANIMATION_DURATION_MS, trackingMode: CameraTrackingMode, keepOnUserGesture: Boolean = false, 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.