committed by
Minh Nguyễn
parent
9d13c639d1
commit
ed32fa06ed
@@ -3175,7 +3175,9 @@ std::chrono::steady_clock::duration MGLDurationInSeconds(float duration)
|
||||
[self resetNorthAnimated:NO];
|
||||
}
|
||||
}
|
||||
else if (self.direction < snapTolerance || self.direction > 360 - snapTolerance)
|
||||
else if ((self.direction < snapTolerance || self.direction > 360 - snapTolerance)
|
||||
&& self.userTrackingMode != MGLUserTrackingModeFollowWithHeading
|
||||
&& self.userTrackingMode != MGLUserTrackingModeFollowWithCourse)
|
||||
{
|
||||
[self resetNorthAnimated:animated];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user