On 28 May 2011 15:53, hassane <[email protected]> wrote: > Hi, > > > i published a layer with geoserver 2.1.0. by default i choose the style > polygon, after using it in a map panel. By clicking on a bouton i want to > change just the sld of the layer not the layer. > > i used layer.mergeNewParams({viewparams: ...) to change the url, now i want > to change just the sld
Technically this is an OpenLayers question not a GeoServer question - but just add styles: new_style to the new parameters you are merging (where new_style is the name of your other style). Ian ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
