#894 - Resetting height tolerance to 80

This commit is contained in:
Brad Leege
2015-09-04 18:58:34 -05:00
committed by Justin R. Miller
parent 8f98024f37
commit e8d415367e

View File

@@ -1044,10 +1044,9 @@ public class MapView extends FrameLayout implements LocationListener {
y = getHeight() - y;
PointF tapPoint = new PointF(x, y);
LatLng tapLatLng = fromScreenLocation(tapPoint);
float toleranceWidth = 60 * mScreenDensity;
float toleranceHeight = 200 * mScreenDensity;
float toleranceHeight = 80 * mScreenDensity;
PointF tr = new PointF(tapPoint.x + toleranceWidth / 2, tapPoint.y + 2 * toleranceHeight / 3);
PointF bl = new PointF(tapPoint.x - toleranceWidth / 2, tapPoint.y - 1 * toleranceHeight / 3);