summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorJason Wray <jason@kulturny.com>2015-08-22 02:02:30 -0400
committerJason Wray <jason@kulturny.com>2015-09-25 12:52:17 -0400
commited702a68e51ebfd5154a92ebe6d1f1d373f0d4b2 (patch)
tree18948e7ff66188f6e4c3db1ea490949753dc580c /platform
parent417f26fba662cdba7c1ff6f79c16f897f7868b97 (diff)
downloadqtlocation-mapboxgl-ed702a68e51ebfd5154a92ebe6d1f1d373f0d4b2.tar.gz
Make quickzoom zoom slightly more quickly
Diffstat (limited to 'platform')
-rw-r--r--platform/ios/MGLMapView.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/MGLMapView.mm b/platform/ios/MGLMapView.mm
index 122de0114f..a2f67c7bba 100644
--- a/platform/ios/MGLMapView.mm
+++ b/platform/ios/MGLMapView.mm
@@ -1339,7 +1339,7 @@ std::chrono::steady_clock::duration secondsAsDuration(float duration)
{
CGFloat distance = [quickZoom locationInView:quickZoom.view].y - self.quickZoomStart;
- CGFloat newZoom = log2f(self.scale) + (distance / 100);
+ CGFloat newZoom = log2f(self.scale) + (distance / 75);
if (newZoom < _mbglMap->getMinZoom()) return;