decrease fling speed

This commit is contained in:
Hannes Janetzek 2013-03-14 11:32:04 +01:00
parent 05e979d90c
commit e47594d2b8

View File

@ -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);