[OpenLayers-Users] layers not transparent
bradleyspencer
brad at cubewerx.com.au
Sun May 27 17:45:36 EDT 2007
Richard,
Have you tried Opacity: 0.5 in the options part of the layer def?
Cheers,
Brad....
-----Original Message-----
From: Richard Greenwood [mailto:richard.greenwood at gmail.com]
Sent: Monday, 28 May 2007 6:44 AM
To: Users at openlayers.org
Subject: [OpenLayers-Users] layers not transparent
I can not seem to make my layers transparent. Only the top most layer
is visible, and it is blocking out the underlying layers. I've tried
transparent:true and format both gif & png. Also tried
isBaseLayer:false. (example layer below). The layers show up
correctly in the layer control (that is to say they are accompanied by
check boxes as opposed to radio buttons.)
I'm using MapServer 4.8.3 and OL 2.4-rc4 & rc5
Any ideas?
Rich
var podLayer = new OpenLayers.Layer.MapServer.Untiled( "Points of
Diversion",
"http://lucca:8080/cgi-bin/mapserv.exe?map=/ms4w/apps/OpenLayers/rwg/wwdc/ww
dc.map",
{layers:'pod', transparent:true, format:'image/png'} );
--
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users
More information about the Users
mailing list