You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openstreetmap-carto/style/ferry-routes.mss

31 lines
724 B
Plaintext

@ferry-route: #66f;
@ferry-route-text: @ferry-route;
#ferry-routes {
[zoom >= 8] {
/* 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: 10;
text-dy: -8;
}
}