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

26 lines
941 B
XML
Raw Normal View History

2013-10-24 08:59:14 +02:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<!-- Upright test -->
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
2014-12-09 16:31:23 +01:00
<Parameters>
<Parameter name="sizes">800, 800</Parameter>
<Parameter name="bbox">-0.05, -0.01, 0.95, 0.01</Parameter>
</Parameters>
2013-10-24 08:59:14 +02:00
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
<StyleName>My Style</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="file">../data/lines2.csv</Parameter>
</Datasource>
</Layer>
<Style name="My Style">
<Rule>
<LineSymbolizer stroke-width="12" stroke="red"/>
<TextSymbolizer face-name="DejaVu Sans Book" size="16" placement="line" upright="auto" max-char-angle-delta="0" horizontal-alignment="left" label-position-tolerance="0.0001">"horizontal-alignment=left"</TextSymbolizer>
</Rule>
</Style>
</Map>