From 0dc1519a1891dac6272f69dd1d1768f15908003c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Wed, 11 Nov 2015 21:18:28 -0800 Subject: Set refresh interval to 60fps Fixes #3005. --- platform/ios/MGLMapView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- cgit v1.2.1