Enumeration

MaplibreNativeFfiCameraUpdateMode

Declaration

enum MaplibreNativeFfi.CameraUpdateMode

Description [src]

How a camera command moves the camera.

See mln_camera_update_mode in the C API reference.

Members

MAPLIBRE_NATIVE_FFI_CAMERA_UPDATE_MODE_JUMP

Moves the camera at once.

  • Value: 0
  • Available since: 0
MAPLIBRE_NATIVE_FFI_CAMERA_UPDATE_MODE_EASE

Animates the camera straight to the target.

  • Value: 1
  • Available since: 0
MAPLIBRE_NATIVE_FFI_CAMERA_UPDATE_MODE_FLY

Zooms out, travels to the target, and zooms back in.

  • Value: 2
  • Available since: 0