diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index 69584c2e97..17401946fe 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -463,8 +463,8 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, { } // to be able to correctly position the back buffer we // place the tiles grid at (0, 0) in the back buffer - tile.style.left = (j * this.tileSize.w) + '%'; tile.style.top = (i * this.tileSize.h) + '%'; + tile.style.left = (j * this.tileSize.w) + '%'; backBuffer.appendChild(tile); } }