Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Set refresh interval to 60fps
Browse files Browse the repository at this point in the history
Fixes #3005.
  • Loading branch information
1ec5 committed Nov 12, 2015
1 parent 5afcf77 commit 0dc1519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/ios/MGLMapView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
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";
Expand Down

0 comments on commit 0dc1519

Please sign in to comment.