map: use high beeline opacity if no polylines are available
This commit is contained in:
parent
31f8275626
commit
434eb5a18d
1 changed files with 5 additions and 1 deletions
|
@ -2335,7 +2335,11 @@ sub startup {
|
||||||
{
|
{
|
||||||
polylines => $json->encode( \@station_pairs ),
|
polylines => $json->encode( \@station_pairs ),
|
||||||
color => '#673ab7',
|
color => '#673ab7',
|
||||||
opacity => $with_polyline ? 0.4 : 0.6,
|
opacity => @polylines
|
||||||
|
? $with_polyline
|
||||||
|
? 0.4
|
||||||
|
: 0.6
|
||||||
|
: 0.8,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
polylines => $json->encode( \@polylines ),
|
polylines => $json->encode( \@polylines ),
|
||||||
|
|
Loading…
Reference in a new issue