RuntimeHalf
Defined in: packages/core/src/model/types.ts:141
The half that degrades. Nothing here reaches the compiled style.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
container? | object | - | packages/core/src/model/types.ts:154 |
container.className? | string | - | packages/core/src/model/types.ts:154 |
container.style? | string | - | packages/core/src/model/types.ts:154 |
controls? | object | - | packages/core/src/model/types.ts:152 |
controls.attribution? | boolean | { compact?: boolean; customAttribution?: string | string[]; enabled?: boolean; position?: "top-left" | "top-right" | "bottom-left" | "bottom-right"; } | - | packages/core/src/schemas/map.schema.ts:123 |
controls.fullscreen? | boolean | { enabled: boolean; position?: "top-left" | "top-right" | "bottom-left" | "bottom-right"; } | - | packages/core/src/schemas/map.schema.ts:122 |
controls.geolocate? | boolean | { enabled: boolean; position?: "top-left" | "top-right" | "bottom-left" | "bottom-right"; } | - | packages/core/src/schemas/map.schema.ts:120 |
controls.globe? | boolean | { enabled: boolean; position?: "top-left" | "top-right" | "bottom-left" | "bottom-right"; } | - | packages/core/src/schemas/map.schema.ts:126 |
controls.navigation? | boolean | { enabled: boolean; position?: "top-left" | "top-right" | "bottom-left" | "bottom-right"; } | - | packages/core/src/schemas/map.schema.ts:117 |
controls.scale? | boolean | { enabled: boolean; position?: "top-left" | "top-right" | "bottom-left" | "bottom-right"; } | - | packages/core/src/schemas/map.schema.ts:121 |
controls.terrain? | boolean | { enabled: boolean; position?: "top-left" | "top-right" | "bottom-left" | "bottom-right"; } | - | packages/core/src/schemas/map.schema.ts:129 |
fitTo? | object | Fit the initial camera to a source’s data (U14). Authored as v1 config.fitTo / v2 runtime.fitTo; lifted OUT of map because it is not a MapLibre constructor option — the renderer resolves it to bounds/fitBounds, and emit lowers it to a computed camera. | packages/core/src/model/types.ts:165 |
fitTo.maxZoom? | number | - | packages/core/src/schemas/map.schema.ts:235 |
fitTo.padding? | number | - | packages/core/src/schemas/map.schema.ts:230 |
fitTo.source | string | - | packages/core/src/schemas/map.schema.ts:226 |
legend? | object | - | packages/core/src/model/types.ts:153 |
legend.collapsed | boolean | - | packages/core/src/schemas/map.schema.ts:173 |
legend.items? | object[] | - | packages/core/src/schemas/map.schema.ts:174 |
legend.position | "top-left" | "top-right" | "bottom-left" | "bottom-right" | - | packages/core/src/schemas/map.schema.ts:170 |
legend.title? | string | - | packages/core/src/schemas/map.schema.ts:172 |
map | Record<string, unknown> | MapLibre Map constructor options. Remarks Key presence is significant here, not just value: MapLibre merges these over its own defaults, so a key present with an undefined value is not the same as an omitted one. Normalization must not invent keys the author did not write. | packages/core/src/model/types.ts:151 |
markers? | object[] | Standalone markers (U5) — DOM pins live, lowered to a symbol layer on export. | packages/core/src/model/types.ts:158 |
parameters? | Record<string, unknown> | Presentation metadata for state keys, keyed by state name. | packages/core/src/model/types.ts:156 |
popups? | object[] | Standalone popups open at a coordinate (U14) — not exported (class no-export). | packages/core/src/model/types.ts:167 |