diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2026-02-14 01:35:54 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2026-02-14 01:36:09 +0100 |
| commit | ac366d04cd54869c9a2b090aae24a276c32a85a6 (patch) | |
| tree | 64a5c5903b07646a5c58b1b7e4c9704022549245 /src/frontend/app/routes/map.tsx | |
| parent | 3f8fb6fda07f97c9fd676cff67c637c0df0f7029 (diff) | |
feat: Implemen experimental bus stop usage display
Diffstat (limited to 'src/frontend/app/routes/map.tsx')
| -rw-r--r-- | src/frontend/app/routes/map.tsx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/frontend/app/routes/map.tsx b/src/frontend/app/routes/map.tsx index c9c4850..2686222 100644 --- a/src/frontend/app/routes/map.tsx +++ b/src/frontend/app/routes/map.tsx @@ -307,6 +307,18 @@ export default function StopMap() { "text-anchor": "center", "text-justify": "center", "text-size": ["interpolate", ["linear"], ["zoom"], 11, 8, 22, 16], + "symbol-sort-key": [ + "match", + ["get", "transitKind"], + "coach", + 3, + "train", + 2, + "bus", + 1, + 0, + ], + "text-allow-overlap": false, }} paint={{ "text-color": [ |
