InteractionContext
Defined in: packages/core/src/interactions/types.ts:72
What every interaction receives when its trigger fires.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
feature | any | - | packages/core/src/interactions/types.ts:81 |
layerId | string | - | packages/core/src/interactions/types.ts:74 |
lngLat | LngLat | - | packages/core/src/interactions/types.ts:82 |
map | maplibregl.Map | - | packages/core/src/interactions/types.ts:73 |
sourceId | string | The MapLibre source backing this layer. Derived the same way LayerManager derives it, so feature-state writes address the same source the data actually lives in. | packages/core/src/interactions/types.ts:80 |