source:
josm/trunk/test/data/styles/label-from-tag.mapcss@
6598
Last change on this file since 6598 was 3991, checked in by , 14 years ago | |
---|---|
File size: 368 bytes |
Rev | Line | |
---|---|---|
[3989] | 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 | background-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 | } |
Note:
See TracBrowser
for help on using the repository browser.