RuntimeHalf
Defined in: packages/core/src/model/types.ts:158
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:172 |
container.className? | string | - | packages/core/src/model/types.ts:172 |
container.style? | string | - | packages/core/src/model/types.ts:172 |
controls? | object | - | packages/core/src/model/types.ts:169 |
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:124 |
controls.fullscreen? | boolean | { enabled: boolean; position?: "top-left" | "top-right" | "bottom-left" | "bottom-right"; } | - | packages/core/src/schemas/map.schema.ts:123 |
controls.geolocate? | boolean | { enabled: boolean; position?: "top-left" | "top-right" | "bottom-left" | "bottom-right"; } | - | packages/core/src/schemas/map.schema.ts:121 |
controls.globe? | boolean | { enabled: boolean; position?: "top-left" | "top-right" | "bottom-left" | "bottom-right"; } | - | packages/core/src/schemas/map.schema.ts:127 |
controls.navigation? | boolean | { enabled: boolean; position?: "top-left" | "top-right" | "bottom-left" | "bottom-right"; } | - | packages/core/src/schemas/map.schema.ts:118 |
controls.scale? | boolean | { enabled: boolean; position?: "top-left" | "top-right" | "bottom-left" | "bottom-right"; } | - | packages/core/src/schemas/map.schema.ts:122 |
controls.terrain? | boolean | { enabled: boolean; position?: "top-left" | "top-right" | "bottom-left" | "bottom-right"; } | - | packages/core/src/schemas/map.schema.ts:130 |
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:183 |
fitTo.maxZoom? | number | - | packages/core/src/schemas/map.schema.ts:244 |
fitTo.padding? | number | - | packages/core/src/schemas/map.schema.ts:237 |
fitTo.source | string | - | packages/core/src/schemas/map.schema.ts:231 |
legend? | false | { collapsed: boolean; items?: object[]; position: "top-left" | "top-right" | "bottom-left" | "bottom-right"; title?: string; } | false: no legend, not even the automatic one classify: layers get. | packages/core/src/model/types.ts:171 |
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:168 |
markers? | object[] | Standalone markers (U5) — DOM pins live, lowered to a symbol layer on export. | packages/core/src/model/types.ts:176 |
parameters? | Record<string, unknown> | Presentation metadata for state keys, keyed by state name. | packages/core/src/model/types.ts:174 |
popups? | object[] | Standalone popups open at a coordinate (U14) — not exported (class no-export). | packages/core/src/model/types.ts:185 |