Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Improve low-zoom levels #3074

Closed
Prev Previous commit
Next Next commit
Restore backgroudn color to gray for the higher zoom levels
math1985 committed Mar 29, 2018
commit d3acd231850011f6da73ade4ca630708732b5bd2
3 changes: 2 additions & 1 deletion shapefiles.mss
Original file line number Diff line number Diff line change
@@ -7,7 +7,8 @@

#world {
[zoom >= 0][zoom < 10] {
polygon-fill: @land-color;
polygon-fill: @land-color-low-zoom;
[zoom > 8] { polygon-fill: @land-color; }
polygon-simplify: 0.4;
[zoom < 8] {
line-color: darken(@water-color,20%);
3 changes: 2 additions & 1 deletion style.mss
Original file line number Diff line number Diff line change
@@ -3,7 +3,8 @@ Map {
}

@water-color: #aad3df;
@land-color: #f8fbe5;
@land-color-low-zoom: #f2efe9;
@land-color: #f2efe9;

@standard-halo-radius: 1;
@standard-halo-fill: rgba(255,255,255,0.6);