API

Interface GeospatialFlyOptions

Options for flyGeospatialCameraToAsync. Omitted target fields keep their current value.

interface GeospatialFlyOptions {
    center?: Vec3;
    centerHopScale?: number;
    durationMs?: number;
    ease?: (g: number) => number;
    pitch?: number;
    radius?: number;
    yaw?: number;
}
Index
center?: Vec3

Target centre (ECEF). Animated along a great-circle (slerp).

centerHopScale?: number

Parabolic "hop" height scale for the centre animation (0 = none).

durationMs?: number

Flight duration in ms. Default 1000.

ease?: (g: number) => number

Easing applied to the normalized progress g ∈ [0,1]. Default cubic ease-in-out.

pitch?: number

Target pitch (radians).

radius?: number

Target radius.

yaw?: number

Target yaw (radians). Shortest angular path is taken.