From ee66140f8310f4457624d9a2214f1a6c708a1eec Mon Sep 17 00:00:00 2001 From: sonora Date: Fri, 30 Dec 2016 13:00:42 +0100 Subject: [PATCH] add comment for now --- .../osmand/core/samples/android/sample1/MultiTouchSupport.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/MultiTouchSupport.java b/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/MultiTouchSupport.java index 7ba41edc94..8de200a87e 100644 --- a/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/MultiTouchSupport.java +++ b/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/MultiTouchSupport.java @@ -132,6 +132,8 @@ public class MultiTouchSupport { case MotionEvent.ACTION_MOVE: { if (inZoomMode) { + // Keep zoom center fixed or flexible + //centerPoint = new PointF((x1 + x2) / 2, (y1 + y2) / 2); if (angleDefined) { float a = MapUtils.unifyRotationTo360(angle - initialAngle); if (!isRotating && Math.abs(a) > ROTATION_THRESHOLD_DEG) {