[OpenLayers-Trac] [OpenLayers] #3458: a grid layer may be moved while its grid hasn't been initialized yet

OpenLayers trac-20090302 at openlayers.org
Tue Aug 9 04:11:55 EDT 2011


#3458: a grid layer may be moved while its grid hasn't been initialized yet
------------------------+---------------------------------------------------
 Reporter:  erilem      |       Owner:  elemoine    
     Type:  feature     |      Status:  new         
 Priority:  blocker     |   Milestone:  2.11 Release
Component:  Layer.Grid  |     Version:  2.11 RC1    
 Keywords:              |       State:              
------------------------+---------------------------------------------------
 ... leading to {{{this.grid[0] is undefined}}} when the map is panned.

 This is a critical regression.

 To reproduce:

  * open http://www.openlayers.org/dev/examples/wms.html
  * in the FB console create an out-of-range grid layer, and add it to the
 map
  {{{
  grid = new OpenLayers.Layer.WMS('grid', 'http://example.com', {},
 {isBaseLayer: false, minResolution: 2});
  map.addLayer(grid);
  }}}
  * pan the map -> {{{this.grid[0] is undefined}}}

 Test and patch to come.

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


More information about the Trac mailing list