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

Commit

Permalink
MGLRadiansFromDegrees
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Aug 25, 2015
1 parent c39a661 commit fe422c7
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 @@ -1521,7 +1521,7 @@ - (void)_setCenterCoordinate:(CLLocationCoordinate2D)centerCoordinate zoomLevel:
options.zoom = zoomLevel;
if (direction >= 0)
{
options.angle = -direction * M_PI / 180;
options.angle = MGLRadiansFromDegrees(-direction);
}
if (animated)
{
Expand Down

0 comments on commit fe422c7

Please sign in to comment.