#landcover { [feature = 'landuse_residential'][zoom >= 10] { polygon-fill: #f6f6f6; } [feature = 'landuse_garages'][zoom >= 12] { polygon-fill: #996; polygon-opacity: 0.2; } [feature = 'landuse_field'], [feature = 'natural_field'] { [zoom >= 10] { polygon-fill: #666600; polygon-opacity: 0.2; [zoom >= 14] { line-width: 0.3; line-opacity: 0.4; line-color: #660; } } } [feature = 'leisure_garden'], [feature = 'leisure_common'], [feature = 'leisure_golf_course'], [feature = 'landuse_meadow'], [feature = 'landuse_grass'], [feature = 'leisure_park'], [feature = 'amenity_grave_yard'], [feature = 'landuse_cemetery'] { [zoom >= 10] { //polygon-fill: #cfdf9f; polygon-fill: #c8df9f; } } [feature = 'landuse_forest'] { [zoom >= 8][zoom < 14] { polygon-fill: #BCDB9A; } [zoom >= 14] { polygon-pattern-file: url('symbols/forest.png'); } } [feature = 'natural_wood'], [feature = 'landuse_conservation'], [feature = 'landuse_wood'] { [zoom >= 8] { polygon-fill: #BCDB9A; } } [feature = 'amenity_parking'][zoom >= 10] { polygon-fill: #f7efb7; [zoom >= 15] { line-width: 0.3; line-color: #eeeed1; } } [feature = 'natural_beach'][zoom >= 13] { polygon-pattern-file: url('symbols/beach.png'); } } #sports-grounds { [leisure = 'sports_centre'], [leisure = 'stadium'] { [zoom >= 10] { polygon-fill: #33cc99; } } [leisure = 'track'][zoom >= 10] { polygon-fill: #74dcba; line-width: 0.5; line-color: #888; } [leisure = 'pitch'][zoom >= 10] { polygon-fill: #8ad3af; line-width: 0.5; line-color: #888; } } #area-text { [way_area >= 150000][zoom >= 14], [way_area >= 80000][zoom >= 15], [way_area >= 20000][zoom >= 16], [zoom >= 17] { text-name: "[name]"; text-size: 10; text-fill: #000033; text-face-name: @book-fonts; text-halo-radius: 1; text-wrap-width: 20; } } #trees { image-filters: agg-stack-blur(1,1); [type='poly'] { polygon-fill: green; polygon-opacity: 0.3; } [zoom>=19][type='point'] { marker-fill: #b27f36; marker-width: 3; marker-height: 3; } }