From 45af2ba7b44f959932b58ded8b90189251db918b Mon Sep 17 00:00:00 2001 From: sonora Date: Tue, 3 Jan 2017 21:56:59 +0100 Subject: [PATCH] back out for now --- OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java b/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java index e64f963016..c1a0c56d55 100644 --- a/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java +++ b/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java @@ -166,7 +166,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback { } // ///////////////////////////// INITIALIZING UI PART /////////////////////////////////// - public void init(final MapActivity ctx, int w, int h) { + public void init(MapActivity ctx, int w, int h) { application = (OsmandApplication) ctx.getApplicationContext(); settings = application.getSettings(); @@ -220,11 +220,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback { public void onTwoFingerTap() { //afterTwoFingersTap = true; if (isZoomingAllowed(getZoom(), -1.1f)) { - boolean mapLinked = ctx.getMapViewTrackingUtilities().isMapLinkedToLocation(); getAnimatedDraggingThread().startZooming(getZoom() - 1, currentViewport.getZoomFloatPart(), false); - if (mapLinked) { - ctx.getMapViewTrackingUtilities().setMapLinkedToLocation(true); - } } } };