From ed702a68e51ebfd5154a92ebe6d1f1d373f0d4b2 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Sat, 22 Aug 2015 02:02:30 -0400 Subject: Make quickzoom zoom slightly more quickly --- platform/ios/MGLMapView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform') 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; -- cgit v1.2.1