Skip to main content

Variable: GeoVisClickContext

const GeoVisClickContext: Context<MapClickInfo | null | undefined>

Defined in: react/contexts.ts:124

Persistent click snapshot context.

Remarks

Default value is undefined (the "no provider" sentinel) so useGeoVisClick can distinguish "consumed outside GeoVisProvider" from the valid "no feature clicked" state (null). Kept separate from GeoVisHoverContext because click frequency is much lower and the two states are independent.