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:
@@ -239,7 +239,6 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
|
|||||||
if (this.timerId != null) {
|
if (this.timerId != null) {
|
||||||
window.clearTimeout(this.timerId);
|
window.clearTimeout(this.timerId);
|
||||||
}
|
}
|
||||||
this._bounds = bounds;
|
|
||||||
this.timerId = window.setTimeout(
|
this.timerId = window.setTimeout(
|
||||||
this._moveGriddedTiles,
|
this._moveGriddedTiles,
|
||||||
this.tileLoadingDelay
|
this.tileLoadingDelay
|
||||||
@@ -663,7 +662,6 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
|
|||||||
* Method: moveGriddedTiles
|
* Method: moveGriddedTiles
|
||||||
*/
|
*/
|
||||||
moveGriddedTiles: function() {
|
moveGriddedTiles: function() {
|
||||||
var bounds = this._bounds;
|
|
||||||
var shifted = true;
|
var shifted = true;
|
||||||
var buffer = this.buffer || 1;
|
var buffer = this.buffer || 1;
|
||||||
var tlLayer = this.grid[0][0].position;
|
var tlLayer = this.grid[0][0].position;
|
||||||
@@ -678,7 +676,6 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
|
|||||||
this.shiftRow(false);
|
this.shiftRow(false);
|
||||||
} else {
|
} else {
|
||||||
shifted = false;
|
shifted = false;
|
||||||
delete this._bounds;
|
|
||||||
}
|
}
|
||||||
if (shifted) {
|
if (shifted) {
|
||||||
// we may have other row or columns to shift, schedule it
|
// we may have other row or columns to shift, schedule it
|
||||||
|
|||||||
@@ -195,7 +195,7 @@
|
|||||||
};
|
};
|
||||||
layer._moveGriddedTiles = function() {
|
layer._moveGriddedTiles = function() {
|
||||||
g_WhichFunc = "MoveGridded";
|
g_WhichFunc = "MoveGridded";
|
||||||
g_Bounds = layer._bounds;
|
g_Bounds = layer.map.getExtent();
|
||||||
};
|
};
|
||||||
var clearTestBounds = function() {
|
var clearTestBounds = function() {
|
||||||
g_WhichFunc = null;
|
g_WhichFunc = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user