1 // Languages: name (local), name_en, name_fr, name_es, name_de
5 @sans: 'Arial Unicode MS Regular';
6 @sans_bold: 'Arial Unicode MS Bold';
9 This style is designed to be easily recolored by adjusting the color
10 variables below. For predicatable feature relationships,
11 maintain or invert existing value (light to dark) scale.
25 Map { background-color: @land; }
27 // Political boundaries //
28 #boundary[admin_level=2] {
30 line-color: mix(@fill3,@fill2,50);
32 [zoom>=5] { line-width: 1.4; }
33 [zoom>=6] { line-width: 1.8; }
34 [zoom>=8] { line-width: 2; }
35 [zoom>=10] { line-width: 3; }
36 [disputed=1] { line-dasharray: 4,4; }
39 #boundary[admin_level>2][admin_level<=4] {
44 [zoom>=6] { line-width: 1.5; }
45 [zoom>=8] { line-width: 1.8; }
49 #landuse[class='cemetery'],
51 #landcover[class='wood'],
52 #landcover[class='wetland'] {
53 polygon-fill: darken(@land,3);
54 [zoom>=15] { polygon-fill:mix(@land,@fill4,95); }
57 #landuse[class='pitch'],
58 #landcover[class='sand'] {
59 polygon-fill: mix(@land,@fill4,90);
62 #landuse[class='hospital'],
63 #landuse[class='industrial'],
64 #landuse[class='school'] {
65 polygon-fill: mix(@land,@fill1,95);
69 polygon-fill: mix(@fill2,@land,25);
70 [zoom>=16]{ polygon-fill: mix(@fill2,@land,50);}
74 ['mapnik::geometry_type'=3][class!='apron'] {
75 polygon-fill: mix(@fill2,@land,25);
76 [zoom>=16]{ polygon-fill: mix(@fill2,@land,50);}
78 ['mapnik::geometry_type'=2] {
79 line-color: mix(@fill2,@land,25);
81 [zoom>=13][class='runway'] { line-width: 4; }
83 [class='runway'] { line-width: 6; }
85 line-color: mix(@fill2,@land,50);
93 polygon-fill: mix(@land,@fill4,75);
96 // a fill and overlay comp-op lighten the polygon-
97 // fill from ::shadow.
100 // blurring reveals the polygon fill from ::shadow around
101 // the edges of the water
102 image-filters: agg-stack-blur(10,10);
106 // Water color is calculated by sampling the resulting color from
107 // the soft-light comp-op in the #water layer style above.
115 [zoom>=12] { line-width: 1; }
116 [zoom>=14] { line-width: 2; }
117 [zoom>=16] { line-width: 3; }
122 [zoom>=14] { line-width: 1; }
123 [zoom>=16] { line-width: 2; }
124 [zoom>=18] { line-width: 3; }