From f75868a6ef1c6b94c502e5d4e6ee5d4012558d57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ko=C4=87?= Date: Thu, 1 Nov 2018 11:51:07 +0100 Subject: [PATCH] Rendering railway pattern on z12 --- roads.mss | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/roads.mss b/roads.mss index 2dbf8aa3fb..93bd9990fc 100644 --- a/roads.mss +++ b/roads.mss @@ -1935,16 +1935,20 @@ tertiary is rendered from z10 and is not included in osm_planet_roads. */ line-dasharray: 5,2; } } - [zoom >= 13] { + [zoom >= 12] { #roads-fill, #bridges { dark/line-join: round; light/line-color: white; light/line-join: round; [feature = 'railway_rail'] { dark/line-color: #707070; - dark/line-width: 3; - light/line-width: 1; + dark/line-width: 2; + light/line-width: 0.75; light/line-dasharray: 8,8; + [zoom >= 13] { + dark/line-width: 3; + light/line-width: 1; + } [zoom >= 15] { light/line-dasharray: 0,8,8,1; }