#894 - only select/deselect markers on true single-tap

This commit is contained in:
Justin R. Miller
2015-09-07 11:57:34 -07:00
parent 7ed7729cf2
commit 704a4e499b

View File

@@ -1032,7 +1032,11 @@ public class MapView extends FrameLayout implements LocationListener {
public boolean onSingleTapUp(MotionEvent e) {
// Cancel any animation
mNativeMapView.cancelTransitions();
return true;
}
@Override
public boolean onSingleTapConfirmed(MotionEvent e) {
// Open / Close InfoWindow
float x = e.getX();
@@ -1125,16 +1129,9 @@ public class MapView extends FrameLayout implements LocationListener {
}
}
performClick();
return true;
}
// Called for single taps after a delay
@Override
public boolean onSingleTapConfirmed(MotionEvent e) {
return false;
}
// Called for a long press
@Override
public void onLongPress(MotionEvent e) {