Skip to main content

Function: useGeoVisHover()

useGeoVisHover(): MapHoverInfo | null

Defined in: react/contexts.ts:82

Returns the live hover snapshot for the active map. Updates on every mousemove/mouseleave over polygon layers with activeLegendId. Must be called inside <GeoVisProvider>.

Returns

MapHoverInfo | null