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 (99 lines) | stat: -rw-r--r-- 1,367 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
canvas {
    default-points: false;
    default-lines: false;
}

node[test] {
	symbol-stroke-color: red;
	symbol-stroke-opacity: 1;
	symbol-fill-color: orange;
	symbol-fill-opacity: 1;
	
	symbol-shape: square;
	symbol-size: 10;
	symbol-stroke-width: 2;
}

node[test=circle] {
	symbol-shape: circle;
}

node[test=triangle] {
	symbol-shape: triangle;
}

node[test=pentagon] {
	symbol-shape: pentagon;
}

node[test=hexagon] {
	symbol-shape: circle;
}

node[test=heptagon] {
	symbol-shape: triangle;
}

node[test=octagon] {
	symbol-shape: pentagon;
}

node[test=nonagon] {
	symbol-shape: circle;
}

node[test=decagon] {
	symbol-shape: triangle;
}

node[test=fill-color] {
	symbol-fill-color: green;
}

node[test=fill-color-none] {
	symbol-fill-color: none;
}

node[test=fill-opacity] {
	symbol-fill-opacity: .5;
}

node[test=stroke-color] {
	symbol-stroke-color: green;
}

node[test=stroke-color-none] {
	symbol-stroke-color: none;
}

node[test=stroke-opacity] {
	symbol-stroke-opacity: .5;
}

node[test=small] {
	symbol-size: 3;
	symbol-stroke-width: 1;
}

node[test=big] {
	symbol-size: 20;
}

node[test=thin] {
	symbol-stroke-width: .5;
}

node[test=bold] {
	symbol-stroke-width: 4;
}

node[defaults=fill] {
	/* other values are defaults. */
	symbol-shape: square;
	symbol-fill-color: red;
}

node[defaults=stroke] {
	symbol-shape: square;
	symbol-stroke-color: red;
}