test/data/renderer/area-text/style.mapcss
raw| 1 | canvas { |
| 2 | default-points: false; |
| 3 | default-lines: false; |
| 4 | } |
| 5 | |
| 6 | area[test] { |
| 7 | text: "name"; |
| 8 | text-color: blue; |
| 9 | text-position: center; |
| 10 | font-family: "DejaVu Sans"; |
| 11 | color: red; |
| 12 | width: 1; |
| 13 | } |
| 14 | |
| 15 | area[test=C] { |
| 16 | text-offset-x: 5; |
| 17 | text-offset-y: -10.5; |
| 18 | } |
| 19 | |
| 20 | area[test=D] { |
| 21 | text-offset: list(10.2, 20.5); |
| 22 | } |
| 23 | |
| 24 | area[test=H] { |
| 25 | text: eval(""); |
| 26 | } |