Skip to content

CenterZoomBearing

CenterZoomBearing = object

Defined in: src/ui/camera.ts:75

Holds center, zoom and bearing properties

Properties

bearing?

optional bearing: number

Defined in: src/ui/camera.ts:88

The desired bearing in degrees. The bearing is the compass direction that is "up". For example, bearing: 90 orients the map so that east is up.


center?

optional center: LngLatLike

Defined in: src/ui/camera.ts:79

The desired center.


zoom?

optional zoom: number

Defined in: src/ui/camera.ts:83

The desired mercator zoom level.