Debian Codegraph @

test/data/styles/label-from-tag.mapcss

raw
1 /*
2 * Simple test style sheet. Includes a style for nodes where the label is derived
3 * from the value of a specific tag.
4 *
5 */
6
7 meta {
8 title: "Test style - Deriving labels from tags";
9 }
10
11 canvas {
12 fill-color: #000000;
13 }
14
15 node {
16 text: my_label_tag; /* take the value of the tag 'my_label_tag' as text */
17 text-color: white;
18 font-size: 12;
19 }