summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-11-11 21:18:28 -0800
committerMinh Nguyễn <mxn@1ec5.org>2015-11-12 12:00:47 -0800
commit0dc1519a1891dac6272f69dd1d1768f15908003c (patch)
treeddbaf7664ec0d907f50d2c1875031e8d122e1112
parent5afcf771242b0be6007a2487207d61e03fc1d143 (diff)
downloadqtlocation-mapboxgl-0dc1519a1891dac6272f69dd1d1768f15908003c.tar.gz
Set refresh interval to 60fps
Fixes #3005.
-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 382fa3ded2..a097e4932e 100644
--- a/platform/ios/MGLMapView.mm
+++ b/platform/ios/MGLMapView.mm
@@ -53,7 +53,7 @@ const CGFloat MGLMinimumPitch = 0;
const CGFloat MGLMaximumPitch = 60;
const CLLocationDegrees MGLAngularFieldOfView = M_PI / 6.;
const std::string spritePrefix = "com.mapbox.sprites.";
-const NSUInteger MGLTargetFrameInterval = 2; //Target FPS will be 60 divided by this value
+const NSUInteger MGLTargetFrameInterval = 1; //Target FPS will be 60 divided by this value
NSString *const MGLAnnotationIDKey = @"MGLAnnotationIDKey";
NSString *const MGLAnnotationSymbolKey = @"MGLAnnotationSymbolKey";