From 04eafa92756975cc2994185cd72c79cd1a930750 Mon Sep 17 00:00:00 2001 From: Edminsson Date: Mon, 31 Oct 2016 09:20:50 +0100 Subject: [PATCH] Edge smoothing and IE8 #1063 --- src/tiledimage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tiledimage.js b/src/tiledimage.js index b0969e44..e8092083 100644 --- a/src/tiledimage.js +++ b/src/tiledimage.js @@ -1533,7 +1533,7 @@ function drawTiles( tiledImage, lastDrawn ) { var imageZoom = tiledImage.viewportToImageZoom(zoom); // TODO: support tile edge smoothing with tiled image rotation. if (imageZoom > tiledImage.smoothTileEdgesMinZoom && !tiledImage.iOSDevice && - tiledImage.getRotation() === 0) { + tiledImage.getRotation() === 0 && $.supportsCanvas) { // When zoomed in a lot (>100%) the tile edges are visible. // So we have to composite them at ~100% and scale them up together. // Note: Disabled on iOS devices per default as it causes a native crash