forked from cquest/osmfr-cartocss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
water-features.mss
62 lines (58 loc) · 1.02 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
#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-color: blue;
a/line-opacity: 0.5;
a/line-cap: butt;
a/line-dasharray: 1, 3;
[zoom >= 17] {
a/line-width: 2;
a/line-offset: -1;
}
}
}
#piers-area {
[zoom >= 12] {
polygon-fill: @land-color;
}
}
#piers {
[man_made =~ '(breakwater|groyne)'] {
[zoom >= 11] {
line-width: 1;
line-color: #aaa;
}
[zoom >= 13] {
line-width: 2;
}
[zoom >= 16] {
line-width: 4;
}
}
[man_made = 'pier'][zoom >= 11] {
line-width: 1.5;
line-color: @land-color;
[zoom >= 13] { line-width: 3; }
[zoom >= 16] { line-width: 7; }
}
}
#locks {
[waterway = 'lock_gate'][zoom >= 17] {
point-file: url('symbols/lock_gate.png');
}
}