Struct

MaplibreNativeFfiCameraTransitionEnd

Description [src]

struct MaplibreNativeFfiCameraTransitionEnd {
  MaplibreNativeFfiCameraTransitionOutcome outcome;
  guint64 generation;
  MaplibreNativeFfiCameraVelocity velocity;
}

The end of a camera change.

See mln_camera_transition_end in the C API reference.

Structure members
outcome: MaplibreNativeFfiCameraTransitionOutcome

Outcome.

generation: guint64

The generation of the first map snapshot that shows where the change left the camera, or 0 when the map closed first.

velocity: MaplibreNativeFfiCameraVelocity

How fast a gesture’s momentum still moved when it was cancelled, which the next gesture can add to its own release velocities. Zero for every other end.