Function: useGeoVisClick()
useGeoVisClick():
MapClickInfo|null
Defined in: react/contexts.ts:136
Returns the last clicked feature on the active map, or null when no
feature is selected. This hook only populates when the user clicks a
feature on a layer configured with activeLegendId, and the clicked
feature has an id. Clears to null when the user presses Escape or
clicks outside those layers/features.
Must be called inside <GeoVisProvider>.
Returns
MapClickInfo | null