Type alias: CenterZoomBearing¶
Ƭ CenterZoomBearing: Object
Holds center, zoom and bearing properties
Type declaration¶
Name | Type | Description |
---|---|---|
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 zoom level. |
Defined in¶
src/ui/camera.ts:73