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

OpenLayers trac at openlayers.org
Wed Mar 12 03:15:46 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):

 The following line ("destroy": tile.onLoadEnd) fixed up the previous
 problem, but the problem that the loadingpanel keeps loading after
 multiple resizes still exists:


 {{{
     removeTileMonitoringHooks: function(tile) {
         tile.events.un({
             "loadstart": tile.onLoadStart,
             "loadend": tile.onLoadEnd,
             "destroy": tile.onLoadEnd,
             scope: this
         });
     },

 }}}

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


More information about the Trac mailing list