source: josm/trunk/test/data/renderer/way-text/style.mapcss @ 12465

Last change on this file since 12465 was 12465, checked in by bastiK, 6 years ago

see #15006 - new MapCSSRendererTest test case for text along way

File size: 880 bytes
Line 
1canvas {
2    default-points: false;
3    default-lines: false;
4}
5way[test]{
6        font-family: "DejaVu Sans";
7}
8way[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
19way[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
29way[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
37way[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: -2;
49}
Note: See TracBrowser for help on using the repository browser.