Show colorscale whenever it is used
This commit is contained in:
parent
4e45ec6744
commit
6158589b6f
|
@ -107,7 +107,7 @@ function LayerSidebar({
|
|||
<Header as="h4">Event points</Header>
|
||||
</label>
|
||||
</List.Item>
|
||||
{showEvents && (
|
||||
{(showEvents || showRoads) && (
|
||||
<>
|
||||
<List.Item>
|
||||
<ColorMapLegend map={_.chunk(colorByDistance('distance_overtaker')[3].slice(3), 2)} />
|
||||
|
|
Loading…
Reference in a new issue