API

Interface GeospatialOrientation

A delta to apply via setGeospatialOrientation; omitted fields keep their current value.

interface GeospatialOrientation {
    center?: Vec3;
    pitch?: number;
    radius?: number;
    yaw?: number;
}
Index
center?: Vec3

Anchor point on the globe (ECEF) that the camera orbits.

pitch?: number

Pitch in radians (0 = looking straight down at the planet centre, π/2 = horizon).

radius?: number

Distance from the camera to its centre point.

yaw?: number

Yaw in radians (0 = north, π/2 = east).