HI all, how can i change dynamic line color of WMS layer ?? I have tried OpenLayers.Layer.WMS.Post but it is depricated. My layer is as follows -
var sh = new OpenLayers.Layer.WMS( "stateHighway", "http://localhost:8080/geoserver/drupal/wms", { LAYERS: 'drupal:sh', style: 'http://localhost/drupal/php/sh.sld', format: format, tiled: true, tilesOrigin : map.maxExtent.left + ',' + map.maxExtent.bottom, transparent: true }, { buffer: 0, displayOutsideMaxExtent: true, isBaseLayer: false, } ); I have also tried - sh.mergeNewParams({SLD: 'http://localhost/drupal/php/sh.sld', styles: null}); but it wont work .. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-change-dynamic-line-color-of-WMS-layer-tp5028088.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users