[OpenLayers-Trac] Re: [OpenLayers] #3061: Investigate, and if possible implement more efficient tile positioning

OpenLayers trac-20090302 at openlayers.org
Sat Jul 9 15:55:16 EDT 2011


#3061: Investigate, and if possible implement more efficient tile positioning
-----------------------+----------------------------------------------------
  Reporter:  ahocevar  |       Owner:              
      Type:  task      |      Status:  reopened    
  Priority:  minor     |   Milestone:  2.12 Release
 Component:  Layer     |     Version:  2.10        
Resolution:            |    Keywords:  mobile      
     State:  Review    |  
-----------------------+----------------------------------------------------

Comment(by erilem):

 Replying to [comment:9 ahocevar]:

 This is impressive work! Thanks Andreas.


 >  * The lag when dragging layers on mobile devices was caused by a reflow
 after a tile image was loaded. This reflow is not needed any more, so the
 tileLoadingDelay on the Grid layer has now a default of 0ms instead of
 100ms.

 Would you mind elaborating a bit? Why there was a reflow after a tile
 image was loaded? And why there's no reflow anymore?

 My preliminary tests show that delaying tile loading still improves the
 panning experience.
 >
 > All tests pass in Safari5, Firefox4, IE6 and IE8. All examples work in
 these browsers as well. Thanks for any review. If there is interest and it
 makes reviewing easier, I can set up a sandbox with this patch.

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


More information about the Trac mailing list