# CenterZoomBearing

> **CenterZoomBearing** = `object`

Defined in: [ui/camera.ts:126](<https://github.com/maplibre/maplibre-gl-js/blob/538a7680ab16d5cf5a6564ee0ce72a11be14d142/src/ui/camera.ts#L126>)

Holds center, zoom and bearing properties

## Properties

### bearing?

> `optional` **bearing?**: `number`

Defined in: [ui/camera.ts:139](<https://github.com/maplibre/maplibre-gl-js/blob/538a7680ab16d5cf5a6564ee0ce72a11be14d142/src/ui/camera.ts#L139>)

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`](<https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/LngLatLike/index.md>)

Defined in: [ui/camera.ts:130](<https://github.com/maplibre/maplibre-gl-js/blob/538a7680ab16d5cf5a6564ee0ce72a11be14d142/src/ui/camera.ts#L130>)

The desired center.

---

### zoom?

> `optional` **zoom?**: `number`

Defined in: [ui/camera.ts:134](<https://github.com/maplibre/maplibre-gl-js/blob/538a7680ab16d5cf5a6564ee0ce72a11be14d142/src/ui/camera.ts#L134>)

The desired mercator zoom level.
