2011-04-09 07:35:25 +02:00
|
|
|
<Map srs="+init=epsg:4326" background-color="white" minimum-version="0.7.2">
|
2010-10-24 10:04:16 +02:00
|
|
|
<Style name="style">
|
|
|
|
<Rule>
|
2011-04-09 07:35:25 +02:00
|
|
|
<PointSymbolizer/>
|
2010-10-24 10:04:16 +02:00
|
|
|
<!-- the hello world sample hardcodes 'key' as the hypothetical field name -->
|
2011-04-09 07:35:25 +02:00
|
|
|
<TextSymbolizer name="[key]" size="10" dx="5" dy="5" face-name="DejaVu Sans Book"/>
|
2011-01-25 03:07:36 +01:00
|
|
|
<LineSymbolizer stroke="green" stroke-width="3"/>
|
2010-10-24 10:04:16 +02: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>
|