Skip to main content

Variable: GeoVisHoverContext

const GeoVisHoverContext: Context<MapHoverInfo | null | undefined>

Defined in: react/contexts.ts:73

High-frequency hover snapshot context.

Remarks

Default value is undefined (the "no provider" sentinel) so useGeoVisHover can distinguish "consumed outside GeoVisProvider" from the valid "no feature hovered" state (null). Kept separate from GeoVisContext so mousemove updates do not re-render useGeoVis() consumers (which only need stable runtime/spec values).