[OpenLayers-Trac] [OpenLayers] #2848: transitionEffect does not always work

OpenLayers trac-20090302 at openlayers.org
Tue Sep 21 09:24:28 EDT 2010


#2848: transitionEffect does not always work
------------------------+---------------------------------------------------
 Reporter:  bartvde     |       Owner:  ahocevar    
     Type:  bug         |      Status:  new         
 Priority:  minor       |   Milestone:  2.11 Release
Component:  Tile.Image  |     Version:  2.10        
 Keywords:              |       State:              
------------------------+---------------------------------------------------
 As reported by my colleague at Rijkswaterstaat Marco Nijdam:

 In the case of zooming in twice on a singleTile layer, and the zoom ratio
 is always 2, the transitionEffect does not work correctly.

 It seems the Tile/Image is being reused, so lastRatio is not 1 but 2,
 which means the code in startTransition does not perform the resize effect
 anymore. Resetting lastRatio fixes the problem for us.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2848>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list