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 (48 lines) | stat: -rw-r--r-- 1,021 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
way[test=r1] {
    color: darkblue;
    width: 8;
    repeat-image: "presets/barrier/city_wall.svg";
    repeat-image-height: 40;
    repeat-image-align: bottom;
    repeat-image-offset: 4;
    repeat-image-phase: -15;
}

way[test=r2] {
    color: gray;
    width: 18;
    linecap: square;
    repeat-image: "presets/barrier/guard_rail.svg";
    repeat-image-height: 16;
    repeat-image-align: bottom;
    repeat-image-offset: 9;
}

way[test=r2]::dashes {
    major-z-index: 10;
    repeat-image: "presets/misc/no_icon.svg";
    repeat-image-width: 16;
    repeat-image-height: 4;
    repeat-image-spacing: 12;
}

way[test=r3] {
    color: maroon;
    width: 8;
    linecap: none;
    repeat-image: "trees.svg";
    repeat-image-height: 23;
    repeat-image-align: bottom;
    repeat-image-offset: 6;
    repeat-image-spacing: 8;
}

way[test=r3]::bottom {
    repeat-image: "trees-upside_down.svg";
    repeat-image-height: 23;
    repeat-image-align: top;
    repeat-image-offset: -6;
    repeat-image-spacing: 15;
}