Debian Codegraph @

test/data/renderer/way-text/style.mapcss

raw
1 canvas {
2 default-points: false;
3 default-lines: false;
4 }
5 way[test]{
6 font-family: "DejaVu Sans";
7 }
8 way[test=w1] {
9 text: name;
10 font-size: 12;
11 text-color: blue;
12 text-halo-color: yellow;
13 text-halo-radius: 2;
14 text-offset: 5;
15 color: yellow;
16 width: 2;
17 }
18
19 way[test=w2] {
20 text: eval("Groß Vahlberger Straße");
21 font-size: 12;
22 text-color: teal;
23 text-halo-color: #ca3;
24 text-halo-radius: 2;
25 color: #ca3;
26 width: 4;
27 }
28
29 way[test=bidi] { /* bi-directional text #12025 */
30 text: name;
31 font-size: 14;
32 text-color: white;
33 color: blue;
34 width: 16;
35 }
36
37 way[test=opacity] {
38 text-position: line;
39 text:auto;
40 font-size: 18;
41 text-color: coral;
42 text-opacity: 0.7;
43 text-halo-opacity: 0.4;
44 text-halo-color: cyan;
45 text-halo-radius: 2.5;
46 color: cyan;
47 width: 3;
48 text-offset-y: -5.5;
49 }