drop dead code
This commit is contained in:
parent
ed58e413e0
commit
62b4879d63
@ -22,16 +22,8 @@ export function ParcelBoundaryLayer() {
|
||||
style={{color: '#ff0', fill: false, weight: 1}}
|
||||
/* minNativeZoom={17}*/
|
||||
/>;
|
||||
} else if (parcel == "disabled") {
|
||||
return <div></div>
|
||||
// do not display anything
|
||||
return boundaryGeojson &&
|
||||
<GeoJSON
|
||||
data={boundaryGeojson}
|
||||
style={{color: '#0f0', fill: false, weight: 1}} />
|
||||
} else {
|
||||
return boundaryGeojson &&
|
||||
<GeoJSON data={boundaryGeojson} style={{color: '#0f0', fill: true}}/>;
|
||||
return <div></div>
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5,8 +5,6 @@ import 'leaflet/dist/leaflet.css';
|
||||
import './map.css';
|
||||
|
||||
import { apiGet } from '../apiHelpers';
|
||||
import { HelpIcon } from '../components/icons';
|
||||
import { Category } from '../config/categories-config';
|
||||
import { initialMapViewport, mapBackgroundColor, MapTheme, LayerEnablementState } from '../config/map-config';
|
||||
|
||||
import { Building } from '../models/building';
|
||||
@ -97,9 +95,6 @@ export const ColouringMap : FC<ColouringMapProps> = ({
|
||||
[dataLayers],
|
||||
)
|
||||
|
||||
const hasSelection = selectedBuildingId != undefined;
|
||||
const isEdit = ['edit', 'multi-edit'].includes(mode);
|
||||
|
||||
return (
|
||||
<div className="map-container">
|
||||
<MapContainer
|
||||
|
Loading…
Reference in New Issue
Block a user