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

OpenLayers trac at openlayers.org
Wed Mar 5 09:21:42 EST 2008


#1417: resizing the map quickly messes up tile load events (singleTile)
---------------------+------------------------------------------------------
 Reporter:  bartvde  |       Owner:     
     Type:  bug      |      Status:  new
 Priority:  minor    |   Milestone:     
Component:  general  |     Version:  2.5
 Keywords:           |       State:     
---------------------+------------------------------------------------------
 When resizing the map quickly (so resize before the tiles from the
 previous resize are in), the LoadingPanel keeps spinning, indicating that
 something goes wrong with the load events.

 If I removed the clearGrid call from onMapResize in Grid.js all is fine.


 {{{
     onMapResize: function() {
         if (this.singleTile) {
             //this.clearGrid();
             this.setTileSize();
         }
     },

 }}}

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


More information about the Trac mailing list