diff --git a/lib/OpenLayers/Tile/Image.js b/lib/OpenLayers/Tile/Image.js index e06fc203e5..44d97713a9 100644 --- a/lib/OpenLayers/Tile/Image.js +++ b/lib/OpenLayers/Tile/Image.js @@ -51,14 +51,6 @@ OpenLayers.Tile.Image = OpenLayers.Class(OpenLayers.Tile, { */ isBackBuffer: false, - /** - * Property: lastRatio - * {Float} Used in transition code only. This is the previous ratio - * of the back buffer tile resolution to the map resolution. Compared - * with the current ratio to determine if zooming occurred. - */ - lastRatio: 1, - /** * Property: isFirstDraw * {Boolean} Is this the first time the tile is being drawn? @@ -532,7 +524,7 @@ OpenLayers.Tile.Image = OpenLayers.Class(OpenLayers.Tile, { // if the ratio is not the same as it was last time (i.e. we are // zooming), then we need to adjust the backBuffer tile - if (ratio != this.lastRatio) { + if (ratio != 1) { if (this.layer.transitionEffect == 'resize') { // In this case, we can just immediately resize the // backBufferTile. @@ -575,7 +567,6 @@ OpenLayers.Tile.Image = OpenLayers.Class(OpenLayers.Tile, { this.backBufferTile.hide(); } } - this.lastRatio = ratio; },