Skip to content

CenterZoomBearing

CenterZoomBearing = object

Defined in: ui/camera.ts:79

Holds center, zoom and bearing properties

Properties

bearing?

optional bearing?: number

Defined in: ui/camera.ts:92

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: ui/camera.ts:83

The desired center.


zoom?

optional zoom?: number

Defined in: ui/camera.ts:87

The desired mercator zoom level.