CameraModel
Defined in: packages/core/src/model/types.ts:39
Camera state, which the style spec carries at its root.
Remarks
Section titled “Remarks”These are the only config: keys that erase. The rest of config: is
MapLibre Map constructor options with no style-spec equivalent, and lands
in RuntimeHalf.map instead — the split runs through the middle of
the block rather than around it.
Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
bearing? | number | packages/core/src/model/types.ts:43 |
center | [number, number] | packages/core/src/model/types.ts:40 |
pitch? | number | packages/core/src/model/types.ts:42 |
zoom | number | packages/core/src/model/types.ts:41 |