Add click handler
This commit is contained in:
parent
44d3f20a0e
commit
e61a661abd
@ -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} />
|
||||||
)}
|
)}
|
||||||
|
Loading…
Reference in New Issue
Block a user