Spec-Zone.ru › MapLibre GL JS

CameraUpdateTransformFunction

CameraUpdateTransformFunction = (next: object) => object

Функция обратного вызова, которая позволяет управлять камерой и получать уведомления об обновлениях камеры до их выполнения

Параметры

Параметр Тип
next { bearing: number; center: LngLat; elevation: number; pitch: number; roll: number; zoom: number; }
next.bearing number
next.center LngLat
next.elevation number
next.pitch number
next.roll number
next.zoom number

Возвращаемое значение

object

bearing?

optional bearing?: number

center?

optional center?: LngLat

elevation?

optional elevation?: number

pitch?

optional pitch?: number

roll?

optional roll?: number

zoom?

optional zoom?: number

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

Spec-Zone.ru

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