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

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to