duplicate scale to the top

This commit is contained in:
gluap 2021-12-19 00:31:24 +01:00 committed by Paul Bienkowski
parent 6158589b6f
commit f1f7ff1976

View file

@ -93,6 +93,13 @@ function LayerSidebar({
) : null} ) : null}
</> </>
)} )}
{showRoads && (
<>
<List.Item>
<ColorMapLegend map={_.chunk(colorByDistance('distance_overtaker')[3].slice(3), 2)} />
</List.Item>
</>
)}
<Divider /> <Divider />
<List.Item> <List.Item>
<Checkbox <Checkbox
@ -107,7 +114,7 @@ function LayerSidebar({
<Header as="h4">Event points</Header> <Header as="h4">Event points</Header>
</label> </label>
</List.Item> </List.Item>
{(showEvents || showRoads) && ( {showEvents && (
<> <>
<List.Item> <List.Item>
<ColorMapLegend map={_.chunk(colorByDistance('distance_overtaker')[3].slice(3), 2)} /> <ColorMapLegend map={_.chunk(colorByDistance('distance_overtaker')[3].slice(3), 2)} />