Add test for ShieldSymbolizer with text placements.
This commit is contained in:
parent
6af5fd7151
commit
c805cbcfe1
1 changed files with 20 additions and 0 deletions
20
tests/visual_tests/styles/simple-shield.xml
Normal file
20
tests/visual_tests/styles/simple-shield.xml
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
||||
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">shape</Parameter>
|
||||
<Parameter name="file">../data/points.shp</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
||||
<Style name="My Style">
|
||||
<Rule>
|
||||
<ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" dx="5" dy="16" file="../../data/svg/crosshair16x16.svg" horizontal-alignment="middle" vertical-alignment="middle" placement-type="simple" placements="N,S,E,W,SW,10,5">[name]</ShieldSymbolizer>
|
||||
<PointSymbolizer allow-overlap="true"/>
|
||||
</Rule>
|
||||
</Style>
|
||||
|
||||
</Map>
|
Loading…
Reference in a new issue