Test legend menu
This commit is contained in:
parent
746964e22b
commit
ef9f4613ef
@ -139,7 +139,39 @@ 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