Skip to content

Commit

Permalink
draw private/destination/customers/delivery roads differently
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Oct 28, 2018
1 parent 3fba98b commit f582a56
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions layers/roads.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,13 @@ layers:
width: function () { return 1/4 * Math.log($zoom); }
order: 200

private:
filter: { access: [no, private, destination, customers, delivery] }
draw:
lines:
outline:
style: private-way

oneway:
filter: { oneway: yes, $zoom: { min: 17 } }
draw:
Expand Down Expand Up @@ -145,6 +152,9 @@ styles:
lines-railway-style:
base: lines
blend: opaque
private-way:
base: lines
dash: [1.0,0.5]
oneway-arrow:
base: points
texture: oneway-arrow

0 comments on commit f582a56

Please sign in to comment.