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

    Interface AnimationOptions

    How a camera change animates.

    See mln_animation_options in the C API reference.

    interface AnimationOptions {
        durationMs?: number;
        easing?: UnitBezier;
        endHandler?: CameraTransitionHandler;
        minZoom?: number;
        transitionId?: bigint;
        velocity?: number;
    }
    Index
    durationMs?: number
    easing?: UnitBezier
    minZoom?: number

    The zoom level at the peak of a fly animation.

    transitionId?: bigint

    An ID that MapHandle.cancelCameraTransitionsWithId() cancels the change by. Several changes can share one.

    velocity?: number

    The average speed of a fly animation, in screens per second. duration_ms overrides it.