Test wit all the functionalities

This commit is contained in:
Alireza Adli 2023-11-08 13:59:01 -05:00
parent bfa55a03cd
commit ca225e969b

View File

@ -157,10 +157,40 @@ export const ColouringMap: FC<ColouringMapProps> = ({
<CityMap theme={darkLightTheme} /> <CityMap theme={darkLightTheme} />
<BuildingBaseLayer theme={darkLightTheme} /> <BuildingBaseLayer theme={darkLightTheme} />
</Pane> </Pane>
<Pane
name="cc-overlay-pane-shown-behind-buildings"
style={{ zIndex: 199 }}
>
<ConservationAreaBoundaryLayer />
</Pane>
{mapColourScale && ( {mapColourScale && (
<BuildingDataLayer tileset={mapColourScale} revisionId={revisionId} /> <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> </MapContainer>
{mode !== "basic" && ( {mode !== "basic" && (
<> <>