Hi

I want to change SLD's dynamically on my map for the WMS layers with the
following code.

           var sldfile = 'http://myserver/resources/sld/test.sld';
          layer.mergeNewParams({sld: sldfile,SLD_BODY: null});

But the map refreshes when i execute this and the styles dont change.

I checked the accessibility of the sld url and it is accessible on the
network.

I need some help to make this work.

Thanks

Shiv
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to