Test with legend menu 2
This commit is contained in:
parent
ef9f4613ef
commit
60dda8cb48
@ -139,39 +139,7 @@ export const ColouringMap: FC<ColouringMapProps> = ({
|
|||||||
left: "0",
|
left: "0",
|
||||||
right: "0",
|
right: "0",
|
||||||
}}
|
}}
|
||||||
>
|
></div>
|
||||||
{mode !== "basic" && (
|
|
||||||
<>
|
|
||||||
<Legend
|
|
||||||
mapColourScaleDefinitions={categoryMapDefinitions}
|
|
||||||
mapColourScale={mapColourScale}
|
|
||||||
onMapColourScale={onMapColourScale}
|
|
||||||
/>
|
|
||||||
<ThemeSwitcher
|
|
||||||
onSubmit={darkLightThemeSwitch}
|
|
||||||
currentTheme={darkLightTheme}
|
|
||||||
/>
|
|
||||||
<DataLayerSwitcher />
|
|
||||||
{showLayerSelection == "enabled" ? (
|
|
||||||
<>
|
|
||||||
<BoroughSwitcher />
|
|
||||||
<ParcelSwitcher />
|
|
||||||
<FloodSwitcher />
|
|
||||||
<ConservationAreaSwitcher />
|
|
||||||
<HistoricMapSwitcher />
|
|
||||||
<HistoricDataSwitcher />
|
|
||||||
<VistaSwitcher />
|
|
||||||
<HousingSwitcher />
|
|
||||||
<CreativeSwitcher />
|
|
||||||
</>
|
|
||||||
) : (
|
|
||||||
<></>
|
|
||||||
)}
|
|
||||||
{/* TODO change remaining ones*/}
|
|
||||||
<SearchBox onLocate={handleLocate} />
|
|
||||||
</>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user