Skip to content

InteractionContext

Defined in: packages/core/src/interactions/types.ts:72

What every interaction receives when its trigger fires.

PropertyTypeDescriptionDefined in
featureany-packages/core/src/interactions/types.ts:81
layerIdstring-packages/core/src/interactions/types.ts:74
lngLatLngLat-packages/core/src/interactions/types.ts:82
mapmaplibregl.Map-packages/core/src/interactions/types.ts:73
sourceIdstringThe 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