Enumeration

MaplibreNativeFfiCameraChangeSource

Declaration

enum MaplibreNativeFfi.CameraChangeSource

Description [src]

What moved the camera.

See mln_camera_change_source in the C API reference.

Members

MAPLIBRE_NATIVE_FFI_CAMERA_CHANGE_SOURCE_COMMAND

A camera command outside a gesture, or the map itself, as when a resize keeps the camera within its bounds.

  • Value: 0
  • Available since: 0
MAPLIBRE_NATIVE_FFI_CAMERA_CHANGE_SOURCE_GESTURE

A camera command with a gesture phase.

  • Value: 1
  • Available since: 0
MAPLIBRE_NATIVE_FFI_CAMERA_CHANGE_SOURCE_MOMENTUM

The momentum and bearing snap that a gesture’s end started.

  • Value: 2
  • Available since: 0