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 AnchoredCameraOptions

Options for calculating an anchored camera.

type AnchoredCameraOptions = {
    anchorLocation: LngLatLike;
    anchorScreenPoint: PointLike;
    zoom?: number;
}
Index

Properties

anchorLocation: LngLatLike

Geographic location to anchor.

anchorScreenPoint: PointLike

Screen position for the anchor.

zoom?: number

Desired zoom level.

Was this helpful?