CameraUpdate

data class CameraUpdate(val mode: CameraUpdateMode = CameraUpdateMode.JUMP, val camera: CameraOptions = CameraOptions(), val animation: AnimationOptions = AnimationOptions(), val gesturePhase: GesturePhase = GesturePhase.NONE)

A camera change for MapHandle.updateCamera().

A jump uses only the end handler of animation, and the handler runs as soon as the camera moves.

See mln_camera_update in the C API reference.

Constructors

Link copied to clipboard
constructor(mode: CameraUpdateMode = CameraUpdateMode.JUMP, camera: CameraOptions = CameraOptions(), animation: AnimationOptions = AnimationOptions(), gesturePhase: GesturePhase = GesturePhase.NONE)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard