20 lines
No EOL
835 B
XML
20 lines
No EOL
835 B
XML
<?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"/>
|
|
<LineSymbolizer stroke="green" stroke-width="3"/>
|
|
</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> |