spatial-monorepo / verticals/src / useParkingZoneClick
Function: useParkingZoneClick()
useParkingZoneClick():
object
Defined in: packages/verticals/src/components/CampusProfile.tsx:878
Returns live parking zones and a click handler for zone InfoCard display. Wire map click events to handleZoneClick with the feature's zoneId.
Returns
object
handleZoneClick
handleZoneClick: (
zoneId) =>LiveParkingZone|null
Parameters
zoneId
string
Returns
LiveParkingZone | null
liveZones
liveZones:
LiveParkingZone[]
