Skip to content

Commit

Permalink
Render intermittent streams/ditches/drains from z15
Browse files Browse the repository at this point in the history
  • Loading branch information
math1985 committed Nov 3, 2018
1 parent 94df321 commit f1b4bdb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions water.mss
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@
[waterway = 'ditch'],
[waterway = 'drain'] {
[int_tunnel = 'no'] {
[zoom >= 14] {
[int_intermittent != 'yes'][zoom >= 14],
[zoom >= 15] {
line-width: 2.5;
line-color: white;
[waterway = 'stream'][zoom >= 15] {
Expand Down Expand Up @@ -193,7 +194,8 @@
[waterway = 'stream'],
[waterway = 'ditch'],
[waterway = 'drain'] {
[zoom >= 14] {
[int_intermittent != 'yes'][zoom >= 14],
[zoom >= 15] {
// the additional line of land color is used to provide a background for dashed casings
[int_tunnel = 'yes'] {
background/line-width: 2;
Expand Down

0 comments on commit f1b4bdb

Please sign in to comment.