removing unused _bounds member variable. non-functinal change.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@11215 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2011-02-22 09:06:50 +00:00
parent c852abad61
commit bc81882a8e
2 changed files with 1 additions and 4 deletions

View File

@@ -239,7 +239,6 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
if (this.timerId != null) {
window.clearTimeout(this.timerId);
}
this._bounds = bounds;
this.timerId = window.setTimeout(
this._moveGriddedTiles,
this.tileLoadingDelay
@@ -663,7 +662,6 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
* Method: moveGriddedTiles
*/
moveGriddedTiles: function() {
var bounds = this._bounds;
var shifted = true;
var buffer = this.buffer || 1;
var tlLayer = this.grid[0][0].position;
@@ -678,7 +676,6 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
this.shiftRow(false);
} else {
shifted = false;
delete this._bounds;
}
if (shifted) {
// we may have other row or columns to shift, schedule it

View File

@@ -195,7 +195,7 @@
};
layer._moveGriddedTiles = function() {
g_WhichFunc = "MoveGridded";
g_Bounds = layer._bounds;
g_Bounds = layer.map.getExtent();
};
var clearTestBounds = function() {
g_WhichFunc = null;