Remove extra tiles.

This commit is contained in:
scharrier
2013-11-13 15:27:51 +01:00
committed by Tom Payne
parent beefa6845f
commit 3fe81e451a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -146,7 +146,7 @@ ol.source.Zoomify = function(options) {
ctx.drawImage(this, 0, 0);
// Change original image
image = new Image() ;
image = new Image();
image.src = canvas.toDataURL();
}
}
@@ -159,7 +159,7 @@ ol.source.Zoomify = function(options) {
resolutions: resolutions
});
var tileUrlFunction = ol.TileUrlFunction.withTileCoordTransform(
tileGrid.createTileCoordTransform(),
tileGrid.createTileCoordTransform({extent: [0, 0].concat(this.size_)}),
createFromUrl(this.url_));