Skip to main content

Interface: CapabilitySet

Defined in: runtime/adapter.ts:82

Structured, introspectable capability tree (ADR-0002). A capability entry may only be true/present when an official test or fixture exercises it — "declared means tested". validateSpec accepts the active adapter's CapabilitySet and rejects anything the spec requires but the adapter does not declare, so an unsupported spec fails before mount instead of rendering partially or misbehaving at the engine level.

Properties​

dataFeatures​

dataFeatures: object

Defined in: runtime/adapter.ts:90

Data-binding features, scoped to the source types that support them.

featureState​

featureState: ("geojson" | "vector-tiles" | "raster-tiles" | "raster-dem" | "video" | "image")[]

Source types where per-feature setFeatureState joining works — this is what mapData, sizeBy, and value-driven colorBy all depend on.

filter​

filter: ("geojson" | "vector-tiles" | "raster-tiles" | "raster-dem" | "video" | "image")[]

Source types where a declarative VisualizationLayer.filter compiles to a working native engine filter (dispatch({ type: 'set-filter' }), PRD-002).


engine​

engine: "maplibre" | "deckgl"

Defined in: runtime/adapter.ts:84

The engine adapter this capability set describes — see EngineAdapter.id.


layerGeometries​

layerGeometries: GeoVisGeometryType[]

Defined in: runtime/adapter.ts:88

Layer geometries the adapter can translate and render.


sourceTypes​

sourceTypes: ("geojson" | "vector-tiles" | "raster-tiles" | "raster-dem" | "video" | "image")[]

Defined in: runtime/adapter.ts:86

Source types the adapter can mount onto the map.


viewFeatures​

viewFeatures: object

Defined in: runtime/adapter.ts:104

Camera/view features.

bearing​

bearing: boolean

pitch​

pitch: boolean