Skip to content

CenterZoomBearing

CenterZoomBearing = object

Defined in: ui/camera.ts:78

Holds center, zoom and bearing properties

Properties

bearing?

optional bearing: number

Defined in: ui/camera.ts:91

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:82

The desired center.


zoom?

optional zoom: number

Defined in: ui/camera.ts:86

The desired mercator zoom level.