2013-01-25 08:49:55 +00:00
|
|
|
<Map srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" background-color="white" minimum-version="0.7.2">
|
2010-10-24 08:04:16 +00:00
|
|
|
<Style name="style">
|
|
|
|
<Rule>
|
2011-04-09 05:35:25 +00:00
|
|
|
<PointSymbolizer/>
|
2010-10-24 08:04:16 +00:00
|
|
|
<!-- the hello world sample hardcodes 'key' as the hypothetical field name -->
|
2011-04-09 05:35:25 +00:00
|
|
|
<TextSymbolizer name="[key]" size="10" dx="5" dy="5" face-name="DejaVu Sans Book"/>
|
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 -->
|
2013-01-25 08:49:55 +00:00
|
|
|
<Layer name="test" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
2010-10-24 08:04:16 +00:00
|
|
|
<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>
|