CameraUpdateTransformFunction()
CameraUpdateTransformFunction = (
next:object) =>object
Defined in: src/ui/camera.ts:239
A callback hook that allows manipulating the camera and being notified about camera updates before they happen
Parameters
| Parameter | Type |
|---|---|
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 |
Returns
object
bearing?
optionalbearing:number
center?
optionalcenter:LngLat
elevation?
optionalelevation:number
pitch?
optionalpitch:number
roll?
optionalroll:number
zoom?
optionalzoom:number