Interface MapGLTransitionOptions

Option for transition when the user click on a result on MapLibre or Mapbox.

interface MapGLTransitionOptions {
    flyCurve?: number;
    flySpeed?: number;
    type?:
        | "none"
        | "hybrid"
        | "fly"
        | "jump";
}

Hierarchy (view full)

Properties

flyCurve?: number

The zooming "curve" that will occur along the flight path.

flySpeed?: number

The average speed of the animation defined in relation to curve.

type?:
    | "none"
    | "hybrid"
    | "fly"
    | "jump"

Type of camera move on result selection. jump: change the position of the camera without animation fly: animating camera transition along curve that evokes flight hybrid: use fly when the camera is near the point and jump otherwise