Skip to main content

Interface: GeoVisSelection

Defined in: runtime/action.ts:37

The runtime's current selection — framework-agnostic, shared by dispatch({ type: 'select-feature' }) and getContextPacket() (ADR-0004). Never carries geometry: featureId is the same stable id mapData rows and click events already key on.

Properties​

featureId​

featureId: string | number

Defined in: runtime/action.ts:40


layerId​

layerId: string

Defined in: runtime/action.ts:39

Id of the layer the selected feature belongs to — matches spec.layers[].id.