[OpenLayers-Trac]
Re: [OpenLayers] #3431: set opacity on layer divs,
not on tiles and markers
OpenLayers
trac-20090302 at openlayers.org
Wed Aug 10 01:27:37 EDT 2011
#3431: set opacity on layer divs, not on tiles and markers
-----------------------+----------------------------------------------------
Reporter: ahocevar | Owner: euzuro
Type: feature | Status: reopened
Priority: minor | Milestone: 2.11 Release
Component: Layer | Version: SVN
Resolution: | Keywords:
State: Review |
-----------------------+----------------------------------------------------
Comment(by cmoullet):
Hi,
Thanks for this patch. I just applied it in our projects and it solves the
issue with IE8.
I can understand the concerns of Eric but we face here a bug in IE8 and I
also prefer to make specific workaround instead of risking to affect other
browsers.
I'm wondering if it's still needed to set the opacity on the img level:
http://trac.osgeo.org/openlayers/browser/trunk/openlayers/lib/OpenLayers/Tile/Image.js#L394
I just tested to deactivate this part and unfortunately IE8 opacity
doesn't work anymore. But keeping this code means that we don't have a
real benefit to set the opacity on the "div layer level".
Cédric
--
Ticket URL: <http://trac.openlayers.org/ticket/3431#comment:17>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list