Test with legend menu 2

This commit is contained in:
Alireza Adli 2023-10-27 14:19:53 -04:00
parent ef9f4613ef
commit 60dda8cb48

View File

@ -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>
); );
}; };