Reset
This commit is contained in:
parent
ca225e969b
commit
aa19dd40ff
@ -142,56 +142,6 @@ export const ColouringMap: FC<ColouringMapProps> = ({
|
||||
right: "0",
|
||||
}}*/
|
||||
>
|
||||
<MapContainer
|
||||
center={initialMapViewport.position}
|
||||
zoom={initialMapViewport.zoom}
|
||||
minZoom={9}
|
||||
maxZoom={18}
|
||||
doubleClickZoom={false}
|
||||
zoomControl={false}
|
||||
attributionControl={false}
|
||||
>
|
||||
<ClickHandler onClick={handleClick} />
|
||||
<MapViewport position={position} zoom={zoom} />
|
||||
<Pane key={darkLightTheme} name={"cc-base-pane"} style={{ zIndex: 50 }}>
|
||||
<CityMap theme={darkLightTheme} />
|
||||
<BuildingBaseLayer theme={darkLightTheme} />
|
||||
</Pane>
|
||||
<Pane
|
||||
name="cc-overlay-pane-shown-behind-buildings"
|
||||
style={{ zIndex: 199 }}
|
||||
>
|
||||
<ConservationAreaBoundaryLayer />
|
||||
</Pane>
|
||||
|
||||
{mapColourScale && (
|
||||
<BuildingDataLayer tileset={mapColourScale} revisionId={revisionId} />
|
||||
)}
|
||||
<Pane name="cc-overlay-pane" style={{ zIndex: 300 }}>
|
||||
<CityBoundaryLayer />
|
||||
<HistoricDataLayer revisionId={revisionId} />
|
||||
<HistoricMapLayer revisionId={revisionId} />
|
||||
<BoroughBoundaryLayer />
|
||||
<ParcelBoundaryLayer />
|
||||
<FloodBoundaryLayer />
|
||||
<VistaBoundaryLayer />
|
||||
<HousingBoundaryLayer />
|
||||
<CreativeBoundaryLayer />
|
||||
<BuildingNumbersLayer revisionId={revisionId} />
|
||||
{selectedBuildingId && (
|
||||
<BuildingHighlightLayer
|
||||
selectedBuildingId={selectedBuildingId}
|
||||
baseTileset={mapColourScale}
|
||||
/>
|
||||
)}
|
||||
</Pane>
|
||||
<Pane name="cc-label-overlay-pane" style={{ zIndex: 1000 }}>
|
||||
<BoroughLabelLayer />
|
||||
</Pane>
|
||||
|
||||
<ZoomControl position="topright" />
|
||||
<AttributionControl prefix="" />
|
||||
</MapContainer>
|
||||
{mode !== "basic" && (
|
||||
<>
|
||||
<Legend
|
||||
|
Loading…
Reference in New Issue
Block a user