Skip to content

Commit

Permalink
Fixing ferry routes over variable color water.
Browse files Browse the repository at this point in the history
This is not a perfect solution and depends on river color being
the darkest but it seems to work all right even on ocean.
  • Loading branch information
imagico committed Aug 8, 2017
1 parent aae848e commit 753fb09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ferry-routes.mss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
#ferry-routes {
[zoom >= 7] {
/* background prevents problems with overlapping ferry-routes, see #457 */
background/line-color: @water-color;
background/line-color: @river-color;
background/line-width: 1; /* Needs to be a bit wider than the route itself because of antialiasing */
background/line-comp-op: lighten;
background/line-dasharray: 4,4;
line-color: @ferry-route;
line-width: 0.4;
line-dasharray: 4,4;
Expand Down

0 comments on commit 753fb09

Please sign in to comment.