test refreshing map before getting zoom

This commit is contained in:
sonora 2017-01-01 18:56:50 +01:00
parent 4b1940c1ae
commit 4fc88dc348

View file

@ -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);
}
}