fix MapActivity
This commit is contained in:
parent
beeb4af9ac
commit
6657f67e81
1 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
|
|||
private TwoFingerTapDetector twoFingersTapDetector;
|
||||
//private boolean afterTwoFingersTap = false;
|
||||
private boolean afterDoubleTap = false;
|
||||
protected boolean wasMapLinkedBeforeGesture = false;
|
||||
private boolean wasMapLinkedBeforeGesture = false;
|
||||
|
||||
public OsmandMapTileView(MapActivity activity, int w, int h) {
|
||||
this.activity = activity;
|
||||
|
@ -1083,7 +1083,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
|
|||
private class MapTileViewOnGestureListener extends SimpleOnGestureListener {
|
||||
@Override
|
||||
public boolean onDown(MotionEvent e) {
|
||||
wasMapLinkedBeforeGesture = (MapActivity activity).getMapViewTrackingUtilities().isMapLinkedToLocation();
|
||||
wasMapLinkedBeforeGesture = ((MapActivity) activity).getMapViewTrackingUtilities().isMapLinkedToLocation();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue