diff --git a/app/src/frontend/building/data-containers/planning.tsx b/app/src/frontend/building/data-containers/planning.tsx index a0cbec4e..ed7c33b9 100644 --- a/app/src/frontend/building/data-containers/planning.tsx +++ b/app/src/frontend/building/data-containers/planning.tsx @@ -56,7 +56,11 @@ const PlanningView: React.FunctionComponent = (props) => { const switchToBuildingProtectionMapStyle = (e) => { e.preventDefault(); props.onMapColourScale('planning_combined') - } + } + const switchToEmptyMapStyle = (e) => { + e.preventDefault(); + props.onMapColourScale('empty_map') + } const { flood, floodSwitchOnClick, housing, housingSwitchOnClick, creative, creativeSwitchOnClick, vista, vistaSwitchOnClick, parcel, parcelSwitchOnClick, conservation, conservationSwitchOnClick } = useDisplayPreferences(); const communityLinkUrl = `/${props.mode}/${Category.Community}/${props.building.building_id}`; return ( @@ -100,9 +104,16 @@ const PlanningView: React.FunctionComponent = (props) => { Click and colour buildings here if you think they may be subject to a future planning application involving demolition. To add your opinion on how well this building works, please also visit the Community section. - + + : + + } = (props) => { Help us produce the most accurate map possible for London's designated/protected buildings. Please add data if missing or click "Verify" where entries are correct. - + + : + + }