Join us online - 19th of November
Save your spot
For AI agents: a documentation index is available at /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?: number;
    center?: LngLatLike;
    zoom?: number;
}
Index
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.

center?: LngLatLike

The desired center.

zoom?: number

The desired mercator zoom level.

Was this helpful?