Skip to content

Commit

Permalink
Now only legend is hidden in basic view mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoniecz committed Nov 18, 2024
1 parent bb7ba04 commit 45f182a
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions app/src/frontend/map/map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,29 +162,29 @@ export const ColouringMap : FC<ColouringMapProps> = ({
mode !== 'basic' &&
<>
<Legend mapColourScaleDefinitions={categoryMapDefinitions} mapColourScale={mapColourScale} onMapColourScale={onMapColourScale}/>
<div className="switchers-of-layers-map-menu">
<ThemeSwitcher onSubmit={darkLightThemeSwitch} currentTheme={darkLightTheme} />
<DataLayerSwitcher />
{
(showLayerSelection == "enabled") ?
<>
<BoroughSwitcher/>
<ParcelSwitcher/>
<FloodSwitcher/>
<ConservationAreaSwitcher/>
{ /* <HistoricMapSwitcher/> */ }
{ /* <HistoricDataSwitcher/> */ }
<VistaSwitcher />
<HousingSwitcher />
<CreativeSwitcher />
{ /* <EditableBuildingsSwitcher /> */ }
</>
: <></>
}
</div>
<SearchBox onLocate={handleLocate} />
</>
}
<div className="switchers-of-layers-map-menu">
<ThemeSwitcher onSubmit={darkLightThemeSwitch} currentTheme={darkLightTheme} />
<DataLayerSwitcher />
{
(showLayerSelection == "enabled") ?
<>
<BoroughSwitcher/>
<ParcelSwitcher/>
<FloodSwitcher/>
<ConservationAreaSwitcher/>
{ /* <HistoricMapSwitcher/> */ }
{ /* <HistoricDataSwitcher/> */ }
<VistaSwitcher />
<HousingSwitcher />
<CreativeSwitcher />
{ /* <EditableBuildingsSwitcher /> */ }
</>
: <></>
}
</div>
<SearchBox onLocate={handleLocate} />
</div>
);
}
Expand Down

0 comments on commit 45f182a

Please sign in to comment.