Table of Contents

Enum GesturePhase

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

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

public enum GesturePhase : uint

Fields

Begin = 1

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

Cancel = 4

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

End = 3
None = 0

The change isn't part of a gesture.

Update = 2

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

Remarks

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.