add enabling parcel overlay
This commit is contained in:
parent
8a8465520c
commit
f86ef86abd
@ -57,7 +57,7 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
props.onMapColourScale('planning_combined')
|
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}`;
|
const communityLinkUrl = `/${props.mode}/${Category.Community}/${props.building.building_id}`;
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
@ -433,6 +433,9 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
|||||||
<InfoBox>
|
<InfoBox>
|
||||||
This section is designed to provide information on land parcels and their ownership type. Can you help us to crowdsource this information?
|
This section is designed to provide information on land parcels and their ownership type. Can you help us to crowdsource this information?
|
||||||
</InfoBox>
|
</InfoBox>
|
||||||
|
<button className="map-switcher-inline btn btn-outline btn-outline-dark" onClick={parcelSwitchOnClick}>
|
||||||
|
{(parcel === 'enabled')? 'Click to hide sample of parcel data (in City)' : 'Click to see sample of parcel data (in City) mapped'}
|
||||||
|
</button>
|
||||||
<div className="data-title">
|
<div className="data-title">
|
||||||
<div className="data-title-text">
|
<div className="data-title-text">
|
||||||
<ul>
|
<ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user