File: style.mapcss

package info (click to toggle)
josm 0.0.svn17428%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 204,760 kB
  • sloc: java: 360,765; xml: 198,972; perl: 10,138; jsp: 250; sh: 123; makefile: 112; javascript: 74; python: 29
file content (34 lines) | stat: -rw-r--r-- 680 bytes parent folder | download | duplicates (6)
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

/**
 * Dashes Test
 * 1. Basic test - pattern should not be broken at way nodes
 * 2. Transparent and with background color. The foreground and background dashes must not overlap.
 * 3. Dashes offset - cuts off the first dash segment
 */

canvas {
    default-points: false;
    default-lines: false;
}

way[test=dash1] {
    width: 10;
    color: blue;
    dashes: 30,4,17,14;
}
way[test=dash2] {
    width: 10;
    color: blue;
    opacity: 0.3;
    dashes: 30,4,17,14;
    dashes-background-color: gold;
    dashes-background-opacity: 0.3;
}
way[test=dash3] {
    width: 10;
    color: blue;
    dashes: 30,4,17,14;
    dashes-background-color: gold;
    dashes-offset:30;
}