Skip to content

RuntimeHalf

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

The half that degrades. Nothing here reaches the compiled style.

PropertyTypeDescriptionDefined 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?objectFit 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.sourcestring-packages/core/src/schemas/map.schema.ts:226
legend?object-packages/core/src/model/types.ts:153
legend.collapsedboolean-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
mapRecord<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