From dac3fbcc7397a0e960a93b8cbd2e04ea9d09bfe2 Mon Sep 17 00:00:00 2001 From: kocio-pl Date: Sat, 1 Dec 2018 00:42:44 +0100 Subject: [PATCH] Rendering railway pattern on z12 (#3488) --- roads.mss | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/roads.mss b/roads.mss index 00a0e0227e..55bb5dee49 100644 --- a/roads.mss +++ b/roads.mss @@ -1930,16 +1930,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; }