diff options
author | Jason Wray <jason@kulturny.com> | 2015-08-22 02:02:30 -0400 |
---|---|---|
committer | Jason Wray <jason@kulturny.com> | 2015-09-25 12:52:17 -0400 |
commit | ed702a68e51ebfd5154a92ebe6d1f1d373f0d4b2 (patch) | |
tree | 18948e7ff66188f6e4c3db1ea490949753dc580c /platform | |
parent | 417f26fba662cdba7c1ff6f79c16f897f7868b97 (diff) | |
download | qtlocation-mapboxgl-ed702a68e51ebfd5154a92ebe6d1f1d373f0d4b2.tar.gz |
Make quickzoom zoom slightly more quickly
Diffstat (limited to 'platform')
-rw-r--r-- | platform/ios/MGLMapView.mm | 2 |
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; |