Add click handler

This commit is contained in:
Alireza Adli 2023-11-08 13:39:29 -05:00
parent 44d3f20a0e
commit e61a661abd

View File

@ -151,6 +151,7 @@ export const ColouringMap: FC<ColouringMapProps> = ({
zoomControl={false} zoomControl={false}
attributionControl={false} attributionControl={false}
> >
<ClickHandler onClick={handleClick} />
{mapColourScale && ( {mapColourScale && (
<BuildingDataLayer tileset={mapColourScale} revisionId={revisionId} /> <BuildingDataLayer tileset={mapColourScale} revisionId={revisionId} />
)} )}