Skip to content

AnchoredCameraOptions

AnchoredCameraOptions = object

Defined in: ui/camera.ts:153

Options for calculating an anchored camera.

Properties

anchorLocation

anchorLocation: LngLatLike

Defined in: ui/camera.ts:155

Geographic location to anchor.


anchorScreenPoint

anchorScreenPoint: PointLike

Defined in: ui/camera.ts:157

Screen position for the anchor.


zoom?

optional zoom?: number

Defined in: ui/camera.ts:159

Desired zoom level.