Skip to content

Commit

Permalink
Make landfill color different than construction and brownfield
Browse files Browse the repository at this point in the history
  • Loading branch information
kocio-pl committed Sep 11, 2016
1 parent d501ba1 commit 33dd640
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions landcover.mss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
@bare_ground: #eee5dc;
@campsite: #def6c0; // also caravan_site, picnic_site
@cemetery: #aacbaf; // also grave_yard
@construction: #c7c7b4;
@construction: #c7c7b4; // also brownfield
@danger_area: pink;
@garages: #dfddce;
@heath: #d6d99f;
Expand Down Expand Up @@ -373,7 +373,6 @@
}

[feature = 'landuse_brownfield'],
[feature = 'landuse_landfill'],
[feature = 'landuse_construction'] {
[zoom >= 10] {
polygon-fill: @construction;
Expand All @@ -382,6 +381,14 @@
}
}

[feature = 'landuse_landfill'] {
[zoom >= 10] {
polygon-fill: #b6b592;
[way_pixels >= 4] { polygon-gamma: 0.75; }
[way_pixels >= 64] { polygon-gamma: 0.3; }
}
}

[feature = 'natural_bare_rock'][zoom >= 9] {
polygon-fill: @bare_ground;
[way_pixels >= 4] { polygon-gamma: 0.75; }
Expand Down

0 comments on commit 33dd640

Please sign in to comment.