decrease fling speed
This commit is contained in:
parent
05e979d90c
commit
e47594d2b8
@ -397,7 +397,7 @@ final class TouchHandler implements OnGestureListener, OnDoubleTapListener {
|
||||
// float move = Math.min(mMapView.getWidth(), mMapView.getHeight()) * 2 / 3;
|
||||
// mMapPosition.animateTo(vx * move, vy * move, 250);
|
||||
//} else {
|
||||
float s = (300 / mMapView.dpi);
|
||||
float s = (200 / mMapView.dpi);
|
||||
|
||||
mMapPosition.animateFling(Math.round(velocityX * s), Math.round(velocityY * s), -w, w, -h,
|
||||
h);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user