From f86e6f17a9b9c28ea870a7ce7ef9af4df742fc62 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Fri, 22 Jun 2012 20:06:53 +0200 Subject: [PATCH] Absolute position for tiles. --- src/ol/Tile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ol/Tile.js b/src/ol/Tile.js index fe3b715d47..8c72fe0dcc 100644 --- a/src/ol/Tile.js +++ b/src/ol/Tile.js @@ -170,6 +170,7 @@ ol.Tile.createConstructor = function(width, height) { Tile.prototype.createImage = (function() { var img = document.createElement("img"); img.className = "olTile"; + img.style.position = "absolute"; img.style.width = width + "px"; img.style.height = height + "px"; return function() {