From 97979ae72688944c52fff77644637d300363995b Mon Sep 17 00:00:00 2001 From: ENT8R Date: Sat, 10 Feb 2018 17:10:37 +0100 Subject: [PATCH] Render bridge outlines over other streets (fix #44) --- README.md | 1 - layers/roads.yaml | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fa3033f..8a55f0d 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,5 @@ If you start to edit the style keep in mind that: * [Tangram documentation](https://mapzen.com/documentation/tangram/) * [Tangram Play](https://tangram.city/play/) * [View normal map](https://mapzen.com/tangram/view/?scene=https://raw.githubusercontent.com/ENT8R/streetcomplete-mapstyle/master/streetcomplete-light-style.yaml) -* [View satellite map](https://mapzen.com/tangram/view/?scene=https://raw.githubusercontent.com/ENT8R/streetcomplete-mapstyle/master/streetcomplete-satellite-style.yaml) * [View dark map](https://mapzen.com/tangram/view/?scene=https://raw.githubusercontent.com/ENT8R/streetcomplete-mapstyle/master/streetcomplete-dark-style.yaml) * [Issue #183 of StreetComplete](https://github.com/westnordost/StreetComplete/issues/183) (The reason why this repository was created) diff --git a/layers/roads.yaml b/layers/roads.yaml index fd420c9..15f22c6 100644 --- a/layers/roads.yaml +++ b/layers/roads.yaml @@ -76,6 +76,14 @@ layers: color: global.road_outline_color width: function () { return 1/4 * Math.log($zoom); } order: 200 + bridges: + filter: + - is_bridge: true + draw: + lines: + outline: + cap: butt + order: 400 path-outline: filter: { $zoom: { min: 17 }, kind: [path, portage_way] }