summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2017-07-26 18:58:19 -0400
committerJason Wray <jason@mapbox.com>2017-07-27 16:21:42 -0400
commite59635241a859a357eb4106884466d204e901fbc (patch)
tree2abe733a874c8caa46816bcba9b6644df1876351
parent292f50d061971e118b3550e39cb20f4a3da5cc7d (diff)
downloadqtlocation-mapboxgl-e59635241a859a357eb4106884466d204e901fbc.tar.gz
Allow pinch gesture at minZoom to still move the map
-rw-r--r--platform/ios/src/MGLMapView.mm2
1 files changed, 0 insertions, 2 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm
index 5e2b894cd9..1c544bfd33 100644
--- a/platform/ios/src/MGLMapView.mm
+++ b/platform/ios/src/MGLMapView.mm
@@ -1280,8 +1280,6 @@ public:
{
if ( ! self.isZoomEnabled) return;
- if (_mbglMap->getZoom() <= _mbglMap->getMinZoom() && pinch.scale < 1) return;
-
_mbglMap->cancelTransitions();
CGPoint centerPoint = [self anchorPointForGesture:pinch];