Spec-Zone.ru › MapLibre GL JS

CenterZoomBearing

CenterZoomBearing = object

Holds center, zoom and bearing properties

Properties

bearing?

optional 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?

optional center?: LngLatLike

The desired center.


zoom?

optional zoom?: number

The desired mercator zoom level.

© MapLibre contributors
Licensed under the 3-Clause BSD License.
https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/CenterZoomBearing/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API