forked from gravitystorm/openstreetmap-carto
-
Notifications
You must be signed in to change notification settings - Fork 5
/
ferry-routes.mss
33 lines (31 loc) · 827 Bytes
/
ferry-routes.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
@ferry-route: #66f;
@ferry-route-text: @ferry-route;
#ferry-routes {
[zoom >= 7] {
/* background prevents problems with overlapping ferry-routes, see #457 */
background/line-color: @water-color;
background/line-width: 1; /* Needs to be a bit wider than the route itself because of antialiasing */
line-color: @ferry-route;
line-width: 0.4;
line-dasharray: 4,4;
[zoom >= 11] {
background/line-width: 1;
line-width: 0.8;
line-dasharray: 6,6;
}
}
}
#ferry-routes-text {
[zoom >= 13] {
text-name: "[name]";
text-face-name: @book-fonts;
text-placement: line;
text-fill: @ferry-route-text;
text-spacing: 1000;
text-size: 8;
[zoom >= 14] { text-size: 10; }
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-dy: -8;
}
}