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) {