2013-01-25 09:49:55 +01:00
|
|
|
<Map srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" background-color="steelblue">
|
2012-07-31 00:54:08 +02:00
|
|
|
<!-- test case for https://github.com/mapnik/mapnik/issues/1354 -->
|
2012-07-30 23:48:32 +02:00
|
|
|
|
|
|
|
<Style name="labels">
|
|
|
|
<Rule>
|
|
|
|
<TextSymbolizer
|
|
|
|
face-name="DejaVu Sans Book"
|
|
|
|
size="22"
|
|
|
|
halo-radius="10"
|
|
|
|
placement="point"
|
|
|
|
allow-overlap="false">
|
|
|
|
'this text halos should not overlap vertically'
|
|
|
|
</TextSymbolizer>
|
|
|
|
</Rule>
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
2013-01-25 09:49:55 +01:00
|
|
|
<Layer name="points" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
2012-07-30 23:48:32 +02:00
|
|
|
<StyleName>labels</StyleName>
|
|
|
|
<Datasource>
|
|
|
|
<Parameter name="type">csv</Parameter>
|
|
|
|
<Parameter name="inline">
|
|
|
|
x,y
|
|
|
|
2,2
|
|
|
|
2,2.3
|
|
|
|
</Parameter>
|
|
|
|
</Datasource>
|
|
|
|
</Layer>
|
|
|
|
|
|
|
|
<!-- points to frame data view -->
|
|
|
|
|
|
|
|
<Style name="frame">
|
|
|
|
<Rule>
|
|
|
|
<PointSymbolizer />
|
|
|
|
</Rule>
|
|
|
|
</Style>
|
|
|
|
|
2013-01-25 09:49:55 +01:00
|
|
|
<Layer name="frame" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
2012-07-30 23:48:32 +02:00
|
|
|
<StyleName>frame</StyleName>
|
|
|
|
<Datasource>
|
|
|
|
<Parameter name="type">csv</Parameter>
|
|
|
|
<Parameter name="inline">
|
|
|
|
x,y
|
|
|
|
0,0
|
|
|
|
5,0
|
|
|
|
0,5
|
|
|
|
5,5
|
|
|
|
</Parameter>
|
|
|
|
</Datasource>
|
|
|
|
</Layer>
|
|
|
|
|
|
|
|
</Map>
|