Ticket #3458 (closed bug: fixed)
a grid layer may be moved while its grid hasn't been initialized yet
| Reported by: | erilem | Owned by: | elemoine |
|---|---|---|---|
| Priority: | blocker | Milestone: | 2.11 Release |
| Component: | Layer.Grid | Version: | 2.11 RC1 |
| Keywords: | Cc: | ||
| State: | Pullup |
Description
... 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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

