Skip to content

AnchoredCameraOptions

AnchoredCameraOptions = object

Defined in: ui/camera.ts:95

Options for calculating an anchored camera.

Properties

anchorLocation

anchorLocation: LngLatLike

Defined in: ui/camera.ts:97

Geographic location to anchor.


anchorScreenPoint

anchorScreenPoint: PointLike

Defined in: ui/camera.ts:99

Screen position for the anchor.


zoom?

optional zoom?: number

Defined in: ui/camera.ts:101

Desired zoom level.