Skip to content

Commit

Permalink
Merge pull request #2739 from kocio-pl/danger
Browse files Browse the repository at this point in the history
Danger symbol rework in SVG
  • Loading branch information
kocio-pl authored Aug 15, 2017
2 parents 8f3297e + 79bc74d commit f9c7b99
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
4 changes: 3 additions & 1 deletion landcover.mss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
@cemetery: #aacbaf; // also grave_yard
@construction: #c7c7b4; // also brownfield
@danger_area: pink;
@danger_background: #fcd8db;
@heath: #d6d99f;
@mud: rgba(203,177,154,0.3); // produces #e6dcd1 over @land
@place_of_worship: #cdccc9;
Expand Down Expand Up @@ -240,7 +241,8 @@
[way_pixels >= 64] { polygon-gamma: 0.3; }
}
[zoom >= 11] {
polygon-pattern-file: url('symbols/danger.png');
polygon-fill: @danger_background;
polygon-pattern-file: url('symbols/danger.svg');
[way_pixels >= 4] { polygon-pattern-gamma: 0.75; }
[way_pixels >= 64] { polygon-pattern-gamma: 0.3; }
}
Expand Down
Binary file removed symbols/danger.png
Binary file not shown.
38 changes: 38 additions & 0 deletions symbols/danger.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f9c7b99

Please sign in to comment.