Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
38c4f418ef
1 changed files with 4 additions and 0 deletions
|
@ -220,7 +220,11 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
|
|||
public void onTwoFingerTap() {
|
||||
//afterTwoFingersTap = true;
|
||||
if (isZoomingAllowed(getZoom(), -1.1f)) {
|
||||
boolean mapLinked = MapActivity.getMapViewTrackingUtilities().isMapLinkedToLocation();
|
||||
getAnimatedDraggingThread().startZooming(getZoom() - 1, currentViewport.getZoomFloatPart(), false);
|
||||
if (mapLinked) {
|
||||
MapActivity.getMapViewTrackingUtilities().setMapLinkedToLocation(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue