SourceModel
Defined in: packages/core/src/model/types.ts:54
A source, split into what MapLibre receives and what drives our own machinery.
Remarks
Section titled “Remarks”spec is handed to map.addSource and, later, copied into the emitted
style. runtime holds the live-data configuration, which degrades to
snapshot-on-load when a document is compiled rather than rendered.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
runtime | Record<string, unknown> | Live-data configuration: refresh, stream, cache, loading, prefetch. | packages/core/src/model/types.ts:58 |
spec | Record<string, unknown> | Keys MapLibre understands — the erasable half. | packages/core/src/model/types.ts:56 |