summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmkiley <jordan.kiley@mapbox.com>2019-09-04 10:42:49 -0700
committerjmkiley <jordan.kiley@mapbox.com>2019-09-04 10:42:49 -0700
commit30ccadfc2162be49c6e56063461a6860188d740e (patch)
treed00c16b41897fd43724533c72145cbf1c2871c24
parent1871b3e876908836ed78ae7428cbe9b1358f97a6 (diff)
downloadqtlocation-mapboxgl-30ccadfc2162be49c6e56063461a6860188d740e.tar.gz
[ios] more clean up, lower value
-rw-r--r--platform/ios/src/MGLMapView.mm5
1 files changed, 1 insertions, 4 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm
index 8c8d036328..d2e430177f 100644
--- a/platform/ios/src/MGLMapView.mm
+++ b/platform/ios/src/MGLMapView.mm
@@ -128,9 +128,6 @@ const CLLocationDirection MGLToleranceForSnappingToNorth = 7;
/// Distance threshold to stop the camera while animating.
const CLLocationDistance MGLDistanceThresholdForCameraPause = 500;
-/// Rotation threshold while a pinch gesture is occurring.
-static NSString * const MGLRotationThresholdWhileZoomingKey = @"MGLRotationThresholdWhileZooming";
-
/// Reuse identifier and file name of the default point annotation image.
static NSString * const MGLDefaultStyleMarkerSymbolName = @"default_marker";
@@ -583,7 +580,7 @@ public:
_rotate.delegate = self;
[self addGestureRecognizer:_rotate];
_rotateEnabled = YES;
- _rotationThresholdWhileZooming = 3.5;
+ _rotationThresholdWhileZooming = 3;
_doubleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleDoubleTapGesture:)];
_doubleTap.numberOfTapsRequired = 2;