diff options
Diffstat (limited to 'src/frontend/app/routes/map.tsx')
| -rw-r--r-- | src/frontend/app/routes/map.tsx | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/src/frontend/app/routes/map.tsx b/src/frontend/app/routes/map.tsx index af94509..f54f6cf 100644 --- a/src/frontend/app/routes/map.tsx +++ b/src/frontend/app/routes/map.tsx @@ -320,9 +320,9 @@ export default function StopMap() { ["get", "transitKind"], "bus", 3, - "coach", - 2, "train", + 2, + "coach", 1, 0, ], @@ -342,15 +342,15 @@ export default function StopMap() { "text-offset": [0, 3], "text-anchor": "center", "text-justify": "center", - "text-size": ["interpolate", ["linear"], ["zoom"], 11, 8, 22, 16], + "text-size": ["interpolate", ["linear"], ["zoom"], 11, 10, 22, 17], "symbol-sort-key": [ "match", ["get", "transitKind"], - "coach", + "bus", 3, "train", 2, - "bus", + "coach", 1, 0, ], @@ -366,6 +366,8 @@ export default function StopMap() { "#508096", "tranvias", "#E61C29", + "ourense", + "#ffb319", "xunta", "#007BC4", "renfe", @@ -374,8 +376,14 @@ export default function StopMap() { "#EE3D32", "#27187D", ], - "text-halo-color": "#FFF", - "text-halo-width": 1, + "text-halo-color": [ + "match", + ["get", "feed"], + "ourense", + "#000000", + "#FFF", + ], + "text-halo-width": ["match", ["get", "feed"], "ourense", 1.5, 1], }} /> |
