diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-11-19 12:40:48 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-11-19 12:40:48 +0100 |
| commit | d434204860fc0409ad6343e815d0057b97ce3573 (patch) | |
| tree | 37d349fb3a39e727150134a32e745c64a7312571 /src/frontend/public/maps/styles | |
| parent | d6a28db658487bab63067499c3c7dbe6165e18c1 (diff) | |
Some UI tweaks
Diffstat (limited to 'src/frontend/public/maps/styles')
| -rw-r--r-- | src/frontend/public/maps/styles/openfreemap-dark.json | 28 | ||||
| -rw-r--r-- | src/frontend/public/maps/styles/openfreemap-light.json | 78 |
2 files changed, 61 insertions, 45 deletions
diff --git a/src/frontend/public/maps/styles/openfreemap-dark.json b/src/frontend/public/maps/styles/openfreemap-dark.json index 2803f1a..eb9cd25 100644 --- a/src/frontend/public/maps/styles/openfreemap-dark.json +++ b/src/frontend/public/maps/styles/openfreemap-dark.json @@ -3344,13 +3344,22 @@ "paint": { "line-opacity": [ "interpolate", - ["linear"], - ["get", "zoom"], - 0, 1, - 14, 1, - 16, 0.8, - 18, 0.6, - 22, 0.6 + [ + "linear" + ], + [ + "zoom" + ], + 0, + 1, + 14, + 1, + 16, + 0.8, + 18, + 0.6, + 22, + 0.6 ], "line-color": [ "match", @@ -3360,19 +3369,14 @@ ], "#CONGESTION", "hsl(70.7 100% 38%)", - "#MUYDENSO", "hsl(36.49 100% 50%)", - "#DENSO", "hsl(47.61 100% 49%)", - "#FLUIDO", "hsl(83.9 100% 40%)", - "#MUYFLUIDO", "hsl(161.25 100% 42%)", - "hsl(0.0 0% 0%)" ], "line-width": [ diff --git a/src/frontend/public/maps/styles/openfreemap-light.json b/src/frontend/public/maps/styles/openfreemap-light.json index d616fe7..535659f 100644 --- a/src/frontend/public/maps/styles/openfreemap-light.json +++ b/src/frontend/public/maps/styles/openfreemap-light.json @@ -5287,10 +5287,14 @@ false ], [ - "\u003E=", + ">=", [ - "get", - "rank" + "coalesce", + [ + "get", + "rank" + ], + 0 ], 20 ] @@ -5392,7 +5396,7 @@ "bus" ], [ - "\u003E=", + ">=", [ "get", "rank" @@ -5400,10 +5404,14 @@ 7 ], [ - "\u003C", + "<", [ - "get", - "rank" + "coalesce", + [ + "get", + "rank" + ], + 0 ], 20 ] @@ -5505,26 +5513,26 @@ "bus" ], [ - "!=", + ">=", [ - "get", - "class" - ], - "bus" - ], - [ - "\u003E=", - [ - "get", - "rank" + "coalesce", + [ + "get", + "rank" + ], + 1 ], 1 ], [ - "\u003C", + "<", [ - "get", - "rank" + "coalesce", + [ + "get", + "rank" + ], + 0 ], 7 ] @@ -6993,13 +7001,22 @@ "paint": { "line-opacity": [ "interpolate", - ["linear"], - ["get", "zoom"], - 0, 1, - 14, 1, - 16, 0.8, - 18, 0.6, - 22, 0.6 + [ + "linear" + ], + [ + "zoom" + ], + 0, + 1, + 14, + 1, + 16, + 0.8, + 18, + 0.6, + 22, + 0.6 ], "line-color": [ "match", @@ -7009,19 +7026,14 @@ ], "#CONGESTION", "hsl(70.7 100% 38%)", - "#MUYDENSO", "hsl(36.49 100% 50%)", - "#DENSO", "hsl(47.61 100% 49%)", - "#FLUIDO", "hsl(83.9 100% 40%)", - "#MUYFLUIDO", "hsl(161.25 100% 42%)", - "hsl(0.0 0% 0%)" ], "line-width": [ |
