Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Render bridge outlines over other streets (fix #44)
Browse files Browse the repository at this point in the history
  • Loading branch information
ENT8R committed Feb 10, 2018
1 parent 137220f commit 97979ae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
8 changes: 8 additions & 0 deletions layers/roads.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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] }
Expand Down

0 comments on commit 97979ae

Please sign in to comment.