From 4ef444e82151020193447fe5fd2ad0d3ae2eedee Mon Sep 17 00:00:00 2001 From: crschmidt Date: Thu, 15 Jun 2006 17:07:45 +0000 Subject: [PATCH] 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 --- lib/OpenLayers/Layer/Grid.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index 436e9eed5c..86ff805d76 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -66,10 +66,6 @@ OpenLayers.Layer.Grid.prototype = Object.extend( new OpenLayers.Layer(), { var gridBounds = this.getGridBounds(); if (!this.grid || zoomChanged) { this._initTiles(); - } else if ( bounds.top < gridBounds.bottom || - bounds.bottom > gridBounds.top ) { - this._initTiles(); - } else { var i = 0; while (gridBounds.bottom > bounds.bottom) {