diff --git a/examples/sld.html b/examples/sld.html index f64f54b97b..4667ba34b5 100644 --- a/examples/sld.html +++ b/examples/sld.html @@ -6,92 +6,9 @@ - + - +
This example uses a SLD file to style the vector features. To construct layers that use styles from SLD, create a StyleMap for the layer that uses one of the userStyles in the - namedLayers object of the return from format.read().
+ namedLayers object of the return from format.read(). Look at the sld.js source + to see how this is done.Select a new style for the WaterBodies layer below:
- +