[OpenLayers-Users] Layer.opacity is always null

Christopher Schmidt crschmidt at metacarta.com
Tue Dec 16 19:10:52 EST 2008


On Tue, Dec 16, 2008 at 03:58:53PM -0800, Greg Ederer wrote:
> Hi,
> 
> I saw an earlier post that recommended using the opacity property to 
> access the opacity value of a layer; however, on my OpenLayers.Layer.WMS 
> layers, the opacity property always contains a null value.  Any suggestions?

layer.opacity is representative of the clientside opacity; did you
assign the opacity using setOpacity or similar?

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list