Updated TextSymbolizer (markdown)

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

@ -73,7 +73,7 @@
</TextSymbolizer> </TextSymbolizer>
``` ```
### Python ### Python (Mapnik 2)
```python ```python
t = TextSymbolizer(Expression('[FIELD_NAME]'), 'DejaVu Sans Book', 10, Color('black')) 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 dir(t) # for the rest of the attributes
``` ```
#### Python (Mapnik 3)
*No support.*
### C++ ### C++
```cpp ```cpp