[OpenLayers-Users] dynamic SLD for WMS layer

saj sajeertk15 at gmail.com
Mon May 4 09:53:41 EDT 2009


Hi ,

Hope you got a solution for adding filters to the active SLD on fly, even I
got stuck with the same problem, it would be very helpful for me if you can
suggest a solution with the code segment for the same.
Thanks....




floflo wrote:
> 
> hi,
> 
> I use a WMS polygon layer and want to apply different styles on it
> depending on indicators...
> 
> i know i can dynamicaly change the SLD of my layer with
> layer.mergeNewParams({SLD:..}); but i had to have made all of my SLD
> before.
> That i want is to generate it dynamically....
> 
> Is there a way to add filter or parameter in the active SLD of my layer ?
> Should I use the param "style" of my WMS layer instead (i saw there's one
> but not present in the API Doc).
> 
> thks for help
> 

-- 
View this message in context: http://n2.nabble.com/dynamic-SLD-for-WMS-layer-tp2572331p2787346.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list