back out for now
This commit is contained in:
parent
fead2580bd
commit
45af2ba7b4
1 changed files with 1 additions and 5 deletions
|
@ -166,7 +166,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
|
||||||
}
|
}
|
||||||
|
|
||||||
// ///////////////////////////// INITIALIZING UI PART ///////////////////////////////////
|
// ///////////////////////////// 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();
|
application = (OsmandApplication) ctx.getApplicationContext();
|
||||||
settings = application.getSettings();
|
settings = application.getSettings();
|
||||||
|
|
||||||
|
@ -220,11 +220,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
|
||||||
public void onTwoFingerTap() {
|
public void onTwoFingerTap() {
|
||||||
//afterTwoFingersTap = true;
|
//afterTwoFingersTap = true;
|
||||||
if (isZoomingAllowed(getZoom(), -1.1f)) {
|
if (isZoomingAllowed(getZoom(), -1.1f)) {
|
||||||
boolean mapLinked = ctx.getMapViewTrackingUtilities().isMapLinkedToLocation();
|
|
||||||
getAnimatedDraggingThread().startZooming(getZoom() - 1, currentViewport.getZoomFloatPart(), false);
|
getAnimatedDraggingThread().startZooming(getZoom() - 1, currentViewport.getZoomFloatPart(), false);
|
||||||
if (mapLinked) {
|
|
||||||
ctx.getMapViewTrackingUtilities().setMapLinkedToLocation(true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue