---
title: "CenterZoomBearing | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Type Alias CenterZoomBearing

Holds center, zoom and bearing properties

type CenterZoomBearing \= {  
    [bearing](#bearing)?: number;  
    [center](#center)?: [LngLatLike](https://docs.maptiler.com/sdk-js/api-reference/types/LngLatLike/);  
    [zoom](#zoom)?: number;  
}

##### Index

### Properties[](#properties)

[bearing?](#bearing) [center?](#center) [zoom?](#zoom)

## Properties[](#properties-1)

### `Optional`bearing[](#bearing)

bearing?: number

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.

### `Optional`center[](#center)

center?: [LngLatLike](https://docs.maptiler.com/sdk-js/api-reference/types/LngLatLike/)

The desired center.

### `Optional`zoom[](#zoom)

zoom?: number

The desired mercator zoom level.
