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

Commit

Permalink
Remove tracking mode reset from resetNorthAnimated
Browse files Browse the repository at this point in the history
  • Loading branch information
friedbunny committed Jul 1, 2015
1 parent 295ea08 commit 81d8875
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions platform/ios/MGLMapView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -1397,8 +1397,6 @@ - (void)resetNorth

- (void)resetNorthAnimated:(BOOL)animated
{
self.userTrackingMode = MGLUserTrackingModeNone;

CGFloat duration = (animated ? MGLAnimationDuration : 0);

_mbglMap->setBearing(0, secondsAsDuration(duration));
Expand Down

0 comments on commit 81d8875

Please sign in to comment.