forked from Ahlzen/TopOSM
-
Notifications
You must be signed in to change notification settings - Fork 1
/
areas.mss
90 lines (84 loc) · 2.57 KB
/
areas.mss
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
/* -*- css -*- */
Map {
background-color: transparent;
}
#builtup[zoom >= 8] {
polygon-fill: @builtupcolor;
polygon-opacity: @areaopacity;
}
#areafills {
[zoom >= 8][landuse = 'residential'] {
polygon-fill: @builtupcolor;
polygon-opacity: @areaopacity;
}
[zoom >= 8][leisure = 'nature_reserve'],
[zoom >= 8][leisure = 'park'],
[zoom >= 8][leisure = 'common'],
[zoom >= 8][leisure = 'playground'],
[zoom >= 8][leisure = 'garden'],
[zoom >= 8][leisure = 'golf_course'],
[zoom >= 8][landuse = 'forest'],
[zoom >= 8][landuse = 'vineyard'],
[zoom >= 8][landuse = 'conservation'],
[zoom >= 8][landuse = 'recreation_ground'],
[zoom >= 8][leisure = 'recreation_ground'],
[zoom >= 8][landuse = 'village_green'],
[zoom >= 8][landuse = 'allotment'] {
polygon-fill: @naturecolor;
polygon-opacity: @areaopacity;
}
[zoom >= 10][landuse = 'cemetery'],
[zoom >= 10][amenity = 'grave_yard'] {
polygon-fill: #8b8;
polygon-opacity: @areaopacity;
}
[zoom >= 10][landuse = 'construction'] {
polygon-fill: #bb3;
polygon-opacity: @areaopacity;
}
[zoom >= 8][landuse = 'military'] {
polygon-fill: #e55;
polygon-opacity: @areaopacity;
}
[zoom >= 10][natural = 'beach'] {
polygon-fill: #fec;
polygon-opacity: @areaopacity;
}
[zoom >= 8][landuse = 'salt_pond'] {
polygon-fill: #abc;
polygon-opacity: @areaopacity;
}
[zoom >= 10][natural = 'glacier'] {
polygon-fill: @glacierfillcolor;
polygon-opacity: @glacieropacity;
}
[zoom >= 10][natural = 'heath'],
[zoom >= 10][landuse = 'meadow'],
[zoom >= 10][landuse = 'farm'],
[zoom >= 10][landuse = 'farmland'],
[zoom >= 10][landuse = 'farmyard'] {
polygon-fill: #dd3;
polygon-opacity: @areaopacity;
}
// these are basically copied from osm.xml
[zoom >= 10][landuse = 'industrial'],
[zoom >= 10][landuse = 'railway'],
[zoom >= 10][landuse = 'brownfield'],
[zoom >= 10][landuse = 'landfill'],
[zoom >= 10][landuse = 'quarry'] {
polygon-fill: #e69;
polygon-opacity: @areaopacity;
}
[zoom >= 10][landuse = 'commercial'],
[zoom >= 10][landuse = 'retail'],
[zoom >= 10][amenity = 'hospital'] {
polygon-fill: #e96;
polygon-opacity: @areaopacity;
}
[zoom >= 10][amenity = 'university'],
[zoom >= 10][amenity = 'college'],
[zoom >= 10][amenity = 'school'] {
polygon-fill: #aa8;
polygon-opacity: @areaopacity;
}
}