[OpenLayers-Users] transparent param not sent to WMS service
regioGIS
regio-gis at ec.europa.eu
Thu Sep 10 03:14:52 EDT 2009
Hello,
I works for me when using the transparent as a property, so like this :
var wmslayer = new OpenLayers.Layer.WMS("layername","http://...",
{ layers:
'blabla', transparent: "true",...},
{ isBaseLayer:
false, format: 'image/png',...}
);
Cheers,
Linde
myOpenLayersUName wrote:
>
> Hello,
>
> I have been unable to set the railway_30m layer to be transparent using
> any of the following syntax:
>
> var CTISwms = new OpenLayers.Layer.WMS( "CTI-S WMS",
> "http://wms.sst-sw.rncan.gc.ca/wms/toporama_en",
> {layers: 'railway_30m', format: 'image/png'},
> {isBaseLayer: false, transparent: true, visibility: true,
> transitionEffect: 'resize'});
>
>
>
--
View this message in context: http://n2.nabble.com/transparent-param-not-sent-to-WMS-service-tp3615475p3616395.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list