Updated TextSymbolizer (markdown)
parent
badba86901
commit
fa51e1f1d5
1 changed files with 5 additions and 1 deletions
|
@ -73,7 +73,7 @@
|
|||
</TextSymbolizer>
|
||||
```
|
||||
|
||||
### Python
|
||||
### Python (Mapnik 2)
|
||||
|
||||
```python
|
||||
t = TextSymbolizer(Expression('[FIELD_NAME]'), 'DejaVu Sans Book', 10, Color('black'))
|
||||
|
@ -83,6 +83,10 @@ t.label_placement = label_placement.LINE_PLACEMENT # POINT_PLACEMENT is default
|
|||
dir(t) # for the rest of the attributes
|
||||
```
|
||||
|
||||
#### Python (Mapnik 3)
|
||||
|
||||
*No support.*
|
||||
|
||||
### C++
|
||||
|
||||
```cpp
|
||||
|
|
Loading…
Reference in a new issue