mapnik/tests/visual_tests/styles/text-bug1533.xml

33 lines
1.6 KiB
XML
Raw Normal View History

2013-10-24 06:59:14 +00:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<!-- Minimal testcase for bug #1533. -->
2013-10-24 06:59:14 +00:00
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
2014-12-09 15:31:23 +00:00
<Parameters>
<Parameter name="sizes">600, 600</Parameter>
</Parameters>
2013-10-24 06:59:14 +00:00
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>My Style</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="extent">0.011974068267,-0.211219329615,0.906589524723,0.389705170555</Parameter>
<Parameter name="file">../data/bug1533.csv</Parameter>
2013-10-24 06:59:14 +00:00
</Datasource>
</Layer>
<Style name="My Style">
<Rule>
<LineSymbolizer stroke-width="1" stroke="red"/>
<MarkersSymbolizer file="shape://arrow" placement="line" transform="scale(.5,.5)"/>
<TextSymbolizer face-name="DejaVu Sans Book" size="10" placement="line" upright="right" dy="10" allow-overlap="true">"right: --&gt;"</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Book" size="10" placement="line" upright="left" dy="-10" allow-overlap="true">"left: &lt;--"</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Book" size="10" placement="line" upright="left-only" allow-overlap="true"
2013-10-24 06:59:14 +00:00
placement-type="list">"left only &lt;--"
<Placement upright="right-only">"right only --&gt;"</Placement>
<Placement upright="right-only">"--&gt;"</Placement>
<Placement upright="left-only">"&lt;--"</Placement>
2013-10-24 06:59:14 +00:00
</TextSymbolizer>
</Rule>
</Style>
</Map>