Updated ShieldSymbolizer (markdown)

alexandervlpl 2018-05-05 13:01:19 +03:00
parent e3d6e2c44f
commit badba86901

@ -56,7 +56,7 @@ http://groups.google.com/group/cugos/browse_thread/thread/b62b4890e1933bba
</ShieldSymbolizer> </ShieldSymbolizer>
``` ```
#### Python #### Python (Mapnik 2)
```python ```python
shield = ShieldSymbolizer(Expression('[NAME]'),'DejaVu Sans Bold',6,Color('#000000'),PathExpression('images/ushighway_shield_20.png')) shield = ShieldSymbolizer(Expression('[NAME]'),'DejaVu Sans Bold',6,Color('#000000'),PathExpression('images/ushighway_shield_20.png'))
@ -65,6 +65,10 @@ http://groups.google.com/group/cugos/browse_thread/thread/b62b4890e1933bba
shield.displacement = (dx,dy) shield.displacement = (dx,dy)
``` ```
#### Python (Mapnik 3)
*No support.*
#### C++ #### C++
```cpp ```cpp