[OpenLayers-Users] opacity and wms.notile layer...

John Cole john.cole at uai.com
Fri Mar 9 15:44:40 EST 2007


I've created a wms.notile layer and I'm trying to set it's opacity to 50%
but it doesn't work for me.

			var revite_wms = new OpenLayers.Layer.WMS.Untiled(
"Revite Areas", 
 
"http://kong.uai.int/cgi-bin/mapserv.exe?map=/mapserver/gdt/revite.map&", 
				{layers: 'revite', transparent:'true',
format:'image/png'}, 
				{'ratio':ratio},{opacity:
0.5},{visible:false});

If I use a tiled wms layer, opacity seems to work fine.

Any suggestions? (I'm using the current version on FF2).

Thanks,

John

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.8/714 - Release Date: 3/8/2007
10:58 AM
 
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.



More information about the Users mailing list