[OpenLayers-Users] Layer SLD param path (relative?)
Florent Gravin
florent.gravin at gmail.com
Wed Apr 21 09:37:22 EDT 2010
Hi,
i'm using param SLD like this :
wmsLayer = new OpenLayers.Layer.WMS( 'layer',
'http://localhost:8080/geoserver/wms', {
layers: 'ns:mylayer',
transparent: true,
sld: 'http://localhost/geo/mySLD.sld'
},{
transitionEffect: 'resize',opacity:1
}
);
it works fine, but only in the case where i specify full URL of the SLD (absolute path with http://..........).
i would like to specify a SLD with a relative path, like sld: '../geo/mySLD.sld' but it's not working
what is the base folder specify by "./" in the SLD param ? how could i get it with relative path ?
thanks for help
flo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100421/7cca37cb/attachment.html
More information about the Users
mailing list