Last change
on this file since 11433 was 11433, checked in by Don-vip, 8 years ago |
fix #13999 - New MapCSS test that uses reference images (patch by michael2402)
|
File size:
1.3 KB
|
Line | |
---|
1 | canvas {
|
---|
2 | default-points: false;
|
---|
3 | default-lines: false;
|
---|
4 | }
|
---|
5 |
|
---|
6 | node[test] {
|
---|
7 | symbol-stroke-color: red;
|
---|
8 | symbol-stroke-opacity: 1;
|
---|
9 | symbol-fill-color: orange;
|
---|
10 | symbol-fill-opacity: 1;
|
---|
11 |
|
---|
12 | symbol-shape: square;
|
---|
13 | symbol-size: 10;
|
---|
14 | symbol-stroke-width: 2;
|
---|
15 | }
|
---|
16 |
|
---|
17 | node[test=circle] {
|
---|
18 | symbol-shape: circle;
|
---|
19 | }
|
---|
20 |
|
---|
21 | node[test=triangle] {
|
---|
22 | symbol-shape: triangle;
|
---|
23 | }
|
---|
24 |
|
---|
25 | node[test=pentagon] {
|
---|
26 | symbol-shape: pentagon;
|
---|
27 | }
|
---|
28 |
|
---|
29 | node[test=hexagon] {
|
---|
30 | symbol-shape: circle;
|
---|
31 | }
|
---|
32 |
|
---|
33 | node[test=heptagon] {
|
---|
34 | symbol-shape: triangle;
|
---|
35 | }
|
---|
36 |
|
---|
37 | node[test=octagon] {
|
---|
38 | symbol-shape: pentagon;
|
---|
39 | }
|
---|
40 |
|
---|
41 | node[test=nonagon] {
|
---|
42 | symbol-shape: circle;
|
---|
43 | }
|
---|
44 |
|
---|
45 | node[test=decagon] {
|
---|
46 | symbol-shape: triangle;
|
---|
47 | }
|
---|
48 |
|
---|
49 | node[test=fill-color] {
|
---|
50 | symbol-fill-color: green;
|
---|
51 | }
|
---|
52 |
|
---|
53 | node[test=fill-color-none] {
|
---|
54 | symbol-fill-color: none;
|
---|
55 | }
|
---|
56 |
|
---|
57 | node[test=fill-opacity] {
|
---|
58 | symbol-fill-opacity: .5;
|
---|
59 | }
|
---|
60 |
|
---|
61 | node[test=stroke-color] {
|
---|
62 | symbol-stroke-color: green;
|
---|
63 | }
|
---|
64 |
|
---|
65 | node[test=stroke-color-none] {
|
---|
66 | symbol-stroke-color: none;
|
---|
67 | }
|
---|
68 |
|
---|
69 | node[test=stroke-opacity] {
|
---|
70 | symbol-stroke-opacity: .5;
|
---|
71 | }
|
---|
72 |
|
---|
73 | node[test=small] {
|
---|
74 | symbol-size: 3;
|
---|
75 | symbol-stroke-width: 1;
|
---|
76 | }
|
---|
77 |
|
---|
78 | node[test=big] {
|
---|
79 | symbol-size: 20;
|
---|
80 | }
|
---|
81 |
|
---|
82 | node[test=thin] {
|
---|
83 | symbol-stroke-width: .5;
|
---|
84 | }
|
---|
85 |
|
---|
86 | node[test=bold] {
|
---|
87 | symbol-stroke-width: 4;
|
---|
88 | }
|
---|
89 |
|
---|
90 | node[defaults=fill] {
|
---|
91 | /* other values are defaults. */
|
---|
92 | symbol-shape: square;
|
---|
93 | symbol-fill-color: red;
|
---|
94 | }
|
---|
95 |
|
---|
96 | node[defaults=stroke] {
|
---|
97 | symbol-shape: square;
|
---|
98 | symbol-stroke-color: red;
|
---|
99 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.