Hi. The Layer class has a setOpacity method. And even though the opacity property isn't an API property using it as a getter doesn't sound unreasonable to me. Eric
2008/8/29, Erik Uzureau <[EMAIL PROTECTED]>: > layer.opacity is a value that is stored on the layer. it is not an API > property, meaning it is subject to change.... but speaking as a > developer of the project, I think we can safely assume that it is not > going to change. > > Perhaps we should consider promoting it to APIProperty? Thoughts? > > On Fri, Aug 29, 2008 at 9:17 AM, Semantica <[EMAIL PROTECTED]> wrote: >> >> Is there some way that I can access the opacity of a layer once it's been >> set? I would like to store it in layer state so it is persisted on >> layerSwitcher.redraw(). >> >> Thank you in advance! >> -- >> View this message in context: >> http://n2.nabble.com/Layer-opacity-%7Bgetter-setter%7D--tp792302p792302.html >> Sent from the OpenLayers Users mailing list archive at Nabble.com. >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://openlayers.org/mailman/listinfo/users >> > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
