For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Type Alias CameraOptionsFromTo

The camera placement IReadonlyTransform.calculateCameraOptionsFromTo solves for.

type CameraOptionsFromTo = {
    bearing: number;
    center: LngLat;
    elevation: number;
    pitch: number;
    zoom: number;
}
Index

Properties

bearing: number
center: LngLat
elevation: number
pitch: number
zoom: number
Was this helpful?