1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
#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 {
[zoom >= 16] {
point-file: url('symbols/tree.png');
point-ignore-placement: true;
point-placement: interior;
[zoom >= 17] {
point-file: url('symbols/tree2.png');
}
}
}
|