diff --git a/lib/OpenLayers/Layer/KaMap.js b/lib/OpenLayers/Layer/KaMap.js index b1c7448fa8..d8177e09a0 100644 --- a/lib/OpenLayers/Layer/KaMap.js +++ b/lib/OpenLayers/Layer/KaMap.js @@ -139,10 +139,9 @@ OpenLayers.Layer.KaMap.prototype = tile = row[colidx++]; if (!tile) { tile = this.addTile(tileBounds, px); - tile.draw(); row.push(tile); } else { - tile.moveTo(tileBounds, px); + tile.moveTo(tileBounds, px, false); } tileoffsetlon += tilelon; @@ -152,6 +151,8 @@ OpenLayers.Layer.KaMap.prototype = tileoffsetlat -= tilelat; tileoffsety += this.tileSize.h; } while(tileoffsetlat >= bounds.bottom - tilelat * this.buffer) + + this.spiralTileLoad(); },