2010-10-24 08:04:16 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Map srs="+init=epsg:4326" background-color="white">
|
|
|
|
<Style name="style">
|
|
|
|
<Rule>
|
|
|
|
<PointSymbolizer />
|
|
|
|
<!-- the hello world sample hardcodes 'key' as the hypothetical field name -->
|
|
|
|
<TextSymbolizer name="[key]" face_name="DejaVu Sans Book" size="10" dx="5" dy="5"/>
|
2011-01-25 02:07:36 +00:00
|
|
|
<LineSymbolizer stroke="green" stroke-width="3"/>
|
2010-10-24 08:04:16 +00:00
|
|
|
</Rule>
|
|
|
|
</Style>
|
|
|
|
<!-- this example only works in EPSG:4326 -->
|
|
|
|
<Layer name="test" srs="+init=epsg:4326">
|
|
|
|
<StyleName>style</StyleName>
|
|
|
|
<Datasource>
|
|
|
|
<!-- here we create a 'hello' type datasource which simply
|
|
|
|
displays a point in the middle of the world's boundin box -->
|
|
|
|
<Parameter name="type">hello</Parameter>
|
|
|
|
</Datasource>
|
|
|
|
</Layer>
|
|
|
|
</Map>
|