setCameraOptions

fun setCameraOptions(cameraOptions: CameraOptions)

Move the camera instantaneously as specified by cameraOptions. Any camera animation in progress will be cancelled.

This method must be called from the map's UI thread.


fun setCameraOptions(block: CameraOptions.Builder.() -> Unit)

Move the camera instantaneously as specified by block camera options. Any camera animation in progress will be cancelled.

This method must be called from the map's UI thread.