add info about format option
parent
43e58d909c
commit
19deae55d7
1 changed files with 10 additions and 1 deletions
|
@ -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>
|
||||||
|
```
|
Loading…
Reference in a new issue