style/roads.mss

changeset 5
63cfc4b10f9c
parent 4
34a84c0a427c
child 6
0575190fa5fc
--- a/style/roads.mss	Sat Sep 26 00:55:46 2020 +0300
+++ b/style/roads.mss	Sat Sep 26 00:55:58 2020 +0300
@@ -693,3 +693,32 @@
 	shield-allow-overlap: false;
 	shield-file: url('empty.png');
 }
+
+#bus-route-layer-n1[layer < 0],
+#bus-route[layer = 0],
+#bus-route-layer-1[layer > 0]
+{
+	line-width: 1.5;
+	[zoom >= 17] { line-width: 2; }
+	[zoom >= 18] { line-width: 2.5; }
+	[zoom >= 19] { line-width: 3; }
+	line-color: gold;
+	line-dasharray: 24, 12;
+}
+
+#bus-ref
+{
+	text-name: "[ref]";
+	text-size: 10;
+	[zoom >= 17] { text-size: 11; }
+	[zoom >= 18] { text-size: 12; }
+	text-fill: black;
+	text-spacing: 600;
+	text-repeat-distance: 200;
+	text-placement: line;
+	text-face-name: "Liikenne Regular";
+	text-halo-radius: @standard-halo-radius;
+	text-halo-fill: white;
+	text-allow-overlap: false;
+	text-margin: 30;
+}

mercurial