1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
<StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd">
|
3
|
<NamedLayer>
|
4
|
<Name>testGmlRenderer</Name>
|
5
|
<UserStyle>
|
6
|
<Name>default</Name>
|
7
|
<FeatureTypeStyle>
|
8
|
<Rule>
|
9
|
<PointSymbolizer>
|
10
|
<Graphic>
|
11
|
<ExternalGraphic>
|
12
|
<!--
|
13
|
The special xlink:href below tells OpenLayers
|
14
|
to replace ${url} with the "url" attribute of
|
15
|
each feature
|
16
|
-->
|
17
|
<OnlineResource xlink:href="${url}"/>
|
18
|
<Format>image/jpeg</Format>
|
19
|
</ExternalGraphic>
|
20
|
<Opacity>0.8</Opacity>
|
21
|
<Size>25</Size>
|
22
|
</Graphic>
|
23
|
</PointSymbolizer>
|
24
|
</Rule>
|
25
|
</FeatureTypeStyle>
|
26
|
</UserStyle>
|
27
|
<UserStyle>
|
28
|
<Name>selected</Name>
|
29
|
<FeatureTypeStyle>
|
30
|
<Rule>
|
31
|
<PointSymbolizer>
|
32
|
<Graphic>
|
33
|
<ExternalGraphic>
|
34
|
<OnlineResource xlink:href="${url}"/>
|
35
|
<Format>image/jpeg</Format>
|
36
|
</ExternalGraphic>
|
37
|
<Opacity>1</Opacity>
|
38
|
<Size>25</Size>
|
39
|
</Graphic>
|
40
|
</PointSymbolizer>
|
41
|
</Rule>
|
42
|
</FeatureTypeStyle>
|
43
|
</UserStyle>
|
44
|
</NamedLayer>
|
45
|
</StyledLayerDescriptor>
|