[OpenLayers-Trac] [OpenLayers] #1417: resizing the map quickly messes up tile load events (singleTile)

OpenLayers trac at openlayers.org
Wed Mar 12 03:59:32 EDT 2008


#1417: resizing the map quickly messes up tile load events (singleTile)
-------------------------+--------------------------------------------------
  Reporter:  bartvde     |       Owner:  euzuro     
      Type:  bug         |      Status:  reopened   
  Priority:  minor       |   Milestone:  2.6 Release
 Component:  Layer.Grid  |     Version:  2.5        
Resolution:              |    Keywords:             
     State:  Review      |  
-------------------------+--------------------------------------------------
Comment (by bartvde):

 Strange things are actually happening, it seems that the slower untiled
 layer, being singleTile, gets numLoadingTiles to be 2 :-) :

 {{{

 destroying tile
 destroying tile
 loadstart: Weggeg portalen
 tile on load end: Weggeg portalen, num loading tiles: 1
 loadend: Weggeg portalen
 tile on load end: OV Zonering, num loading tiles: 2
 }}}

 In order to get the "tile on load end for OV Zonering" I get had to not
 destroy the events object in Tile.js, which to me indicates that indeed
 there is a timing problem as well.

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


More information about the Trac mailing list