diff --git a/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java b/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java index 07a4d6f479..20d20e652e 100644 --- a/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java +++ b/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java @@ -855,12 +855,12 @@ public class OsmandMapTileView implements IMapDownloaderCallback { if (event.getAction() == MotionEvent.ACTION_DOWN) { animatedDraggingThread.stopAnimating(); } - for (int i = layers.size() - 1; i >= 0; i--) { - layers.get(i).onTouchEvent(event, getCurrentRotatedTileBox()); - } final boolean isMultiTouch = multiTouchSupport.onTouchEvent(event); doubleTapScaleDetector.onTouchEvent(event); if (!isMultiTouch && !doubleTapScaleDetector.isInZoomMode()) { + for (int i = layers.size() - 1; i >= 0; i--) { + layers.get(i).onTouchEvent(event, getCurrentRotatedTileBox()); + } gestureDetector.onTouchEvent(event); } return true;