@maplibre/native-ffi
    Preparing search index...

    Variable CameraChangeSourceConst

    CameraChangeSource: { command: 0; gesture: 1; momentum: 2 } = ...

    What moved the camera.

    See mln_camera_change_source in the C API reference.

    Type Declaration

    • Readonlycommand: 0

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

    • Readonlygesture: 1

      A camera command with a gesture phase.

    • Readonlymomentum: 2

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