[OpenLayers-Users] applying SLD to WMS raster

Arnd Wippermann arnd.wippermann at web.de
Fri Oct 19 10:56:17 PDT 2012


after apply mergeNewParams
try to get the url of your request with 
map.layers[3].grid[1][1].url.
 
you can also try 
window.open(map.layers[3].grid[1][1].url);
to open the url in a new tab.
 
the request should give you a hint what may be wrong.
 
most likely your responsed sld have linefeeds in it. You have to delete them
before apply the sld.
 
Arnd



More information about the Users mailing list