File: style.mapcss

package info (click to toggle)
josm 0.0.svn18646%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 216,968 kB
  • sloc: java: 389,442; xml: 199,920; perl: 10,155; jsp: 265; sh: 182; makefile: 114; javascript: 74; python: 29
file content (48 lines) | stat: -rw-r--r-- 1,021 bytes parent folder | download | duplicates (7)
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;
}