From 4fc88dc34808aec54d8320c11eb3dafe054ebdd3 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 1 Jan 2017 18:56:50 +0100 Subject: [PATCH] test refreshing map before getting zoom --- OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java b/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java index f78d82a844..0ca6e3de31 100644 --- a/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java +++ b/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java @@ -220,6 +220,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback { public void onTwoFingerTap() { //afterTwoFingersTap = true; if (isZoomingAllowed(getZoom(), -1.1f)) { + refreshMap(); getAnimatedDraggingThread().startZooming(getZoom() - 1, currentViewport.getZoomFloatPart(), true); } }