Skip to content

CameraModel

Defined in: packages/core/src/model/types.ts:39

Camera state, which the style spec carries at its root.

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.

PropertyTypeDefined in
bearing?numberpackages/core/src/model/types.ts:43
center[number, number]packages/core/src/model/types.ts:40
pitch?numberpackages/core/src/model/types.ts:42
zoomnumberpackages/core/src/model/types.ts:41