[OpenLayers-Trac] Re: [OpenLayers] #3441: Default opacity of layer

OpenLayers trac-20090302 at openlayers.org
Mon Aug 8 09:32:24 EDT 2011


#3441: Default opacity of layer
-------------------------+--------------------------------------------------
 Reporter:  mosesonline  |       Owner:  euzuro         
     Type:  bug          |      Status:  new            
 Priority:  minor        |   Milestone:  2.12 Release   
Component:  Layer        |     Version:  SVN            
 Keywords:  layer        |       State:  Needs More Work
-------------------------+--------------------------------------------------

Comment(by ahocevar):

 The WMC and OWSContext tests failing is a concern. It should be possible
 to configure layers without the opacity set. This is why I think that a
 default of null makes sense, meaning "we don't bother". It isn't that hard
 to deal with this on the application level. See e.g.
 http://trac.geoext.org/browser/core/trunk/geoext/lib/GeoExt/widgets/LayerOpacitySlider.js?rev=2605#L213
 for how this is done in GeoExt - it goes along with checking if we have a
 layer and doesn't hurt at all.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3441#comment:4>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list