Geoserver SLD in ol3

Geoserver SLD in ol3

i have some vector layers in geoserver with style (SLD)

When i add these layers though OL3 i want to use same SLD.

right now i am giving style to layer as below

style: new{ stroke: new{ color: '#f00', width: 1 }), fill: new{ color: 'rgba(255,0,0,0.1)' }) })

How can i get the same SLD which is present for the layer in geoserver and use in OL3?

Openlayers 3 does not yet have an SLD parser

There's an open issue at that you may +1

Watch the video: GeoServer. Styling. SLD CSS.