[OpenLayers-Users] SLD over WMS

Fernando Ribeiro fernandinand at gmail.com
Thu Aug 12 04:27:18 EDT 2010


Hi list,

I am trying to change the default style of a WMS layer, with a new SLD
style. So far I tried the "SLD:", direcly on layer options, and
layer.mergeNewParams, without much success.

Here's the layer I want to change:

var fires_24h = new OpenLayers.Layer.WMS(
            "Fires 24h",
            "http://firefly.geog.umd.edu/wms/wms?",
            {
                layers: 'fires24',
                sld: './SLD/fires.sld',
                srs: 'EPSG:4326',
                format: 'image/png',
                tiled: 'true',
                transparent: true
            },
            {isBaseLayer: false}
        );

Can anyone try and help me?

Thank you!

-- 
Fernando
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100812/da9132e5/attachment.html


More information about the Users mailing list