Skip to content

Commit

Permalink
Brighten built-up areas on z12 (#3225)
Browse files Browse the repository at this point in the history
This resolves 2777
  • Loading branch information
matthijsmelissen authored and kocio-pl committed May 11, 2018
1 parent c26acc6 commit 311cae6
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions landcover.mss
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@

// --- "Base" landuses ---

@built-up-upper-lowzoom: #c0c0c0;
@built-up-lower-lowzoom: #aaaaaa;
@built-up-lowzoom: #aaaaaa;
@built-up-z11: #c0c0c0;
@built-up-z12: #d0d0d0;
@residential: #e0dfdf; // Lch(89,0,0)
@residential-line: #b9b9b9; // Lch(75,0,0)
@retail: #ffd6d1; // Lch(89,16,30)
Expand Down Expand Up @@ -231,8 +232,9 @@
}

[feature = 'landuse_residential'][zoom >= 8] {
polygon-fill: @built-up-lower-lowzoom;
[zoom >= 11] { polygon-fill: @built-up-upper-lowzoom; }
polygon-fill: @built-up-lowzoom;
[zoom >= 11] { polygon-fill: @built-up-z11; }
[zoom >= 12] { polygon-fill: @built-up-z12; }
[zoom >= 13] { polygon-fill: @residential; }
[zoom >= 16] {
line-width: .5;
Expand Down Expand Up @@ -351,8 +353,9 @@
[feature = 'landuse_retail'],
[feature = 'amenity_marketplace'] {
[zoom >= 8] {
polygon-fill: @built-up-lower-lowzoom;
[zoom >= 11] { polygon-fill: @built-up-upper-lowzoom; }
polygon-fill: @built-up-lowzoom;
[zoom >= 11] { polygon-fill: @built-up-z11; }
[zoom >= 12] { polygon-fill: @built-up-z12; }
[zoom >= 13] { polygon-fill: @retail; }
[zoom >= 16] {
line-width: 0.5;
Expand All @@ -367,8 +370,9 @@
}

[feature = 'landuse_industrial'][zoom >= 8] {
polygon-fill: @built-up-lower-lowzoom;
[zoom >= 11] { polygon-fill: @built-up-upper-lowzoom; }
polygon-fill: @built-up-lowzoom;
[zoom >= 11] { polygon-fill: @built-up-z11; }
[zoom >= 12] { polygon-fill: @built-up-z12; }
[zoom >= 13] { polygon-fill: @industrial; }
[zoom >= 16] {
line-width: .5;
Expand Down Expand Up @@ -419,8 +423,9 @@
}

[feature = 'landuse_commercial'][zoom >= 8] {
polygon-fill: @built-up-lower-lowzoom;
[zoom >= 11] { polygon-fill: @built-up-upper-lowzoom; }
polygon-fill: @built-up-lowzoom;
[zoom >= 11] { polygon-fill: @built-up-z11; }
[zoom >= 12] { polygon-fill: @built-up-z12; }
[zoom >= 13] { polygon-fill: @commercial; }
[zoom >= 16] {
line-width: 0.5;
Expand Down

0 comments on commit 311cae6

Please sign in to comment.