From 1264d9a714a013b10c8f52c26bcd6996191d08a1 Mon Sep 17 00:00:00 2001 From: max-klaus Date: Mon, 2 Dec 2019 12:30:03 +0300 Subject: [PATCH] Drop tiles sampling temporarily --- OsmAnd/src/net/osmand/plus/views/MapTileLayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/views/MapTileLayer.java b/OsmAnd/src/net/osmand/plus/views/MapTileLayer.java index 210502d48b..2e6b677820 100644 --- a/OsmAnd/src/net/osmand/plus/views/MapTileLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/MapTileLayer.java @@ -207,7 +207,7 @@ public class MapTileLayer extends BaseMapLayer { int xZoom = (tileX % div) * tileSize / div; int yZoom = (tileY % div) * tileSize / div; // nice scale - boolean useSampling = kzoom > 3; + boolean useSampling = false;//kzoom > 3; bitmapToZoom.set(Math.max(xZoom, 0), Math.max(yZoom, 0), Math.min(xZoom + tileSize / div, tileSize), Math.min(yZoom + tileSize / div, tileSize));