add info about format option

der-stefan 2015-11-01 23:07:31 +01:00
parent 43e58d909c
commit 19deae55d7

@ -201,4 +201,13 @@ A simple XML example:
</TextSymbolizer> </TextSymbolizer>
``` ```
The above specifies two offset text layouts to be placed along opposite sides of a line. The above specifies two offset text layouts to be placed along opposite sides of a line.
## Formats
When you want to change attributes within the text symbolizer, you can use the ``<Format>`` element.
Example
```xml
<TextSymbolizer placement="point" size="20" face-name="DejaVu Sans Book" fill="black" justify-alignment="center">
[name] + "\n" <Format size="10">"(" + [ele] + ")"</Format>
</TextSymbolizer>
```