From d870669818bf8ea7ed6753515802667d3be6e33e Mon Sep 17 00:00:00 2001
From: Jeroen Hoek <mail@jeroenhoek.nl>
Date: Sun, 4 Jul 2021 15:40:53 +0200
Subject: [PATCH] Add name rendering for highway=busway
Also show warning when used on a node like the other highway-types.
---
resources/styles/standard/elemstyles.mapcss | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/resources/styles/standard/elemstyles.mapcss b/resources/styles/standard/elemstyles.mapcss
index c98947c43..e67fbeabe 100644
|
a
|
b
|
node[highway=footway],
|
| 904 | 904 | node[highway=path], |
| 905 | 905 | node[highway=pedestrian], |
| 906 | 906 | node[highway=bus_guideway], |
| | 907 | node[highway=busway], |
| 907 | 908 | node[highway=platform] { |
| 908 | 909 | icon-image: "presets/misc/deprecated.svg"; |
| 909 | 910 | set icon_z17; |
| … |
… |
way|z18-[highway=track][setting("highway_labels")],
|
| 5495 | 5496 | way|z18-[highway=cycleway][setting("highway_labels")], |
| 5496 | 5497 | way|z18-[highway=bridleway][setting("highway_labels")], |
| 5497 | 5498 | way|z18-[highway=bus_guideway][setting("highway_labels")], |
| | 5499 | way|z18-[highway=busway][setting("highway_labels")], |
| 5498 | 5500 | way|z18-[highway=raceway][setting("highway_labels")], |
| 5499 | 5501 | way|z18-[highway=construction][setting("highway_labels")], |
| 5500 | 5502 | way|z18-[highway=road][setting("highway_labels")] { |
| … |
… |
way|z18-[highway=bridleway][setting("highway_labels")] {
|
| 5553 | 5555 | way|z18-[highway=bus_guideway][setting("highway_labels")] { |
| 5554 | 5556 | text-halo-color: rail#404040; |
| 5555 | 5557 | } |
| | 5558 | way|z18-[highway=busway][setting("highway_labels")] { |
| | 5559 | text-halo-color: bus#89cbeb; |
| | 5560 | } |
| 5556 | 5561 | way|z18-[highway=raceway][setting("highway_labels")] { |
| 5557 | 5562 | text-halo-color: raceway#ff80ff; |
| 5558 | 5563 | } |