Ticket #3455 (closed feature: fixed)
initial opacity setting sticks
| Reported by: | ahocevar | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.11 Release |
| Component: | general | Version: | 2.11 RC2 |
| Keywords: | regression | Cc: | |
| State: |
Description
Caused by http://trac.osgeo.org/openlayers/ticket/3431#comment:7, the following fails:
- Open http://openlayers.org/dev/examples/lite.html;
- On the development console, do the following:
var layer2 = layer.clone(); layer2.opacity = 0.5; map.addLayer(layer2); map.removeLayer(layer); layer2.setOpacity(1);
The opacity will still be 0.5, because it was set on every tile of layer2.
This will be fixed with #3419.
Change History
Note: See
TracTickets for help on using
tickets.
