[OpenLayers-Users] transparent param not sent to WMS service

Eric Lemoine eric.lemoine at camptocamp.com
Thu Sep 10 01:53:56 EDT 2009


On Thursday, September 10, 2009,  <bartvde at osgis.nl> wrote:
> Hi,
>
> you should use:
>
>      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', transparent: true},
>          {isBaseLayer: false, visibility: true,
>  transitionEffect: 'resize'});
>
> Please not the 3rd parameter is the layer parameters, which are sent to
> the server. The 4rd parameter is the layer options.

at least we agree Bart :-)



-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list