From f86ef86abd5a46729af87fce1b47cfbdb437aadf Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Thu, 15 Dec 2022 11:46:43 +0100 Subject: [PATCH] add enabling parcel overlay --- app/src/frontend/building/data-containers/planning.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/frontend/building/data-containers/planning.tsx b/app/src/frontend/building/data-containers/planning.tsx index cbe07baa..ab099fd4 100644 --- a/app/src/frontend/building/data-containers/planning.tsx +++ b/app/src/frontend/building/data-containers/planning.tsx @@ -57,7 +57,7 @@ const PlanningView: React.FunctionComponent = (props) => { e.preventDefault(); props.onMapColourScale('planning_combined') } - const { flood, floodSwitchOnClick, housing, housingSwitchOnClick, creative, creativeSwitchOnClick, vista, vistaSwitchOnClick } = useDisplayPreferences(); + const { flood, floodSwitchOnClick, housing, housingSwitchOnClick, creative, creativeSwitchOnClick, vista, vistaSwitchOnClick, parcel, parcelSwitchOnClick } = useDisplayPreferences(); const communityLinkUrl = `/${props.mode}/${Category.Community}/${props.building.building_id}`; return ( @@ -433,6 +433,9 @@ const PlanningView: React.FunctionComponent = (props) => { This section is designed to provide information on land parcels and their ownership type. Can you help us to crowdsource this information? +