Yeah, this didn't work out so well. This is neccesary code, but it doesn't work, and I can't figure out why. Moving out -- will work on this in a sandbox.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@597 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -66,10 +66,6 @@ OpenLayers.Layer.Grid.prototype = Object.extend( new OpenLayers.Layer(), {
|
|||||||
var gridBounds = this.getGridBounds();
|
var gridBounds = this.getGridBounds();
|
||||||
if (!this.grid || zoomChanged) {
|
if (!this.grid || zoomChanged) {
|
||||||
this._initTiles();
|
this._initTiles();
|
||||||
} else if ( bounds.top < gridBounds.bottom ||
|
|
||||||
bounds.bottom > gridBounds.top ) {
|
|
||||||
this._initTiles();
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
var i = 0;
|
var i = 0;
|
||||||
while (gridBounds.bottom > bounds.bottom) {
|
while (gridBounds.bottom > bounds.bottom) {
|
||||||
|
|||||||
Reference in New Issue
Block a user