forked from gravitystorm/openstreetmap-carto
-
Notifications
You must be signed in to change notification settings - Fork 1
/
water-features.mss
74 lines (70 loc) · 1.27 KB
/
water-features.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
#dam {
[zoom >= 13] {
line-width: 2;
line-color: #444;
line-join: round;
line-cap: round;
}
[zoom >= 15] {
text-name: "[name]";
text-halo-radius: 1;
text-fill: #222;
text-size: 8;
text-face-name: @book-fonts;
}
}
#marinas-area {
[zoom >= 14] {
a/line-width: 1;
a/line-offset: -0.5;
a/line-color: blue;
a/line-opacity: 0.1;
a/line-join: round;
a/line-cap: round;
b/line-width: 3;
b/line-offset: -1.5;
b/line-color: blue;
b/line-opacity: 0.1;
b/line-join: round;
b/line-cap: round;
[zoom >= 17] {
a/line-width: 2;
a/line-offset: -1;
b/line-width: 6;
b/line-offset: -3;
}
}
}
#piers-area {
[zoom >= 12] {
polygon-fill: @land-color;
}
}
#piers {
[man_made = 'breakwater'],
[man_made = 'groyne'] {
[zoom >= 12] {
line-width: 1;
line-color: #aaa;
}
[zoom >= 13] {
line-width: 2;
}
[zoom >= 16] {
line-width: 4;
}
}
[man_made = 'pier'][zoom >= 12] {
line-width: 1.5;
line-color: @land-color;
[zoom >= 13] { line-width: 3; }
[zoom >= 16] { line-width: 7; }
}
}
#locks {
[waterway = 'lock_gate'][zoom >= 17] {
marker-fill: #969494;
marker-width: 9;
marker-line-width: 0;
}
}