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

    Variable GesturePhaseConst

    GesturePhase: { begin: 1; cancel: 4; end: 3; none: 0; update: 2 } = ...

    Where a camera change falls in a gesture that the user makes.

    GesturePhase.begin and GesturePhase.update mark a gesture in progress, and GesturePhase.end and GesturePhase.cancel end it.

    See mln_gesture_phase in the C API reference.

    Type Declaration

    • Readonlybegin: 1

      The gesture starts. This cancels every running camera animation before the change applies.

    • Readonlycancel: 4

      The platform cancelled the gesture. This also cancels every running camera animation after the change applies.

    • Readonlyend: 3
    • Readonlynone: 0

      The change isn't part of a gesture.

    • Readonlyupdate: 2

      The gesture continues. To start a gesture that keeps the running camera animations, start it with this phase instead of GesturePhase.begin.