Skip to main content

Interface: SetMapDataAction

Defined in: runtime/action.ts:59

Rebinds which MapData entry drives a layer's data-bound styling — "swap the joined dataset" (ADR-0003). Since a MapData entry's own dimension ('color' | 'size') travels with it, picking a different entry also swaps which dimension the layer reads, without a separate field.

Properties

layerId

layerId: string

Defined in: runtime/action.ts:62

Id of the layer whose binding to change — must match spec.layers[].id.


mapDataId

mapDataId: string

Defined in: runtime/action.ts:64

Id of the MapData entry to bind — must match spec.mapData[].mapDataId.


rationale?

optional rationale?: string

Defined in: runtime/action.ts:66

Optional free-text reason, preserved on the action log entry for audit.


type

type: "set-map-data"

Defined in: runtime/action.ts:60