Updated TextSymbolizer (markdown)

alexandervlpl 2018-05-05 13:03:02 +03:00
parent badba86901
commit fa51e1f1d5

@ -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