From d434204860fc0409ad6343e815d0057b97ce3573 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Wed, 19 Nov 2025 12:40:48 +0100 Subject: Some UI tweaks --- .../public/maps/styles/openfreemap-dark.json | 28 ++++---- .../public/maps/styles/openfreemap-light.json | 78 +++++++++++++--------- 2 files changed, 61 insertions(+), 45 deletions(-) (limited to 'src/frontend/public/maps') 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": [ -- cgit v1.3