Set refresh interval to 60fps

Fixes #3005.
This commit is contained in:
Minh Nguyễn
2015-11-11 21:18:28 -08:00
parent 5afcf77124
commit 0dc1519a18

View File

@@ -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";