add comment

This commit is contained in:
sonora 2017-01-04 18:43:50 +01:00
parent 6657f67e81
commit e5b7ce987c

View file

@ -1083,6 +1083,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
private class MapTileViewOnGestureListener extends SimpleOnGestureListener { private class MapTileViewOnGestureListener extends SimpleOnGestureListener {
@Override @Override
public boolean onDown(MotionEvent e) { public boolean onDown(MotionEvent e) {
// Facilitates better map re-linking for two finger tap zoom out
wasMapLinkedBeforeGesture = ((MapActivity) activity).getMapViewTrackingUtilities().isMapLinkedToLocation(); wasMapLinkedBeforeGesture = ((MapActivity) activity).getMapViewTrackingUtilities().isMapLinkedToLocation();
return false; return false;
} }