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

    Interface CameraTransitionEnd

    The end of a camera change.

    See mln_camera_transition_end in the C API reference.

    interface CameraTransitionEnd {
        generation: bigint;
        outcome: CameraTransitionOutcome;
        velocity: CameraVelocity;
    }
    Index
    generation: bigint

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

    velocity: CameraVelocity

    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.