[macos] Removed redundant sign flip

Fixed an issue where the mbgl::CameraOptions’ heading was misinterpreted as going counterclockwise instead of clockwise.
This commit is contained in:
Minh Nguyễn
2018-10-26 16:37:01 -07:00
committed by Minh Nguyễn
parent 3aa995bbe1
commit 89cf6c6006

View File

@@ -1221,7 +1221,7 @@ public:
camera.centerCoordinate.latitude,
self.frame.size);
if (camera.heading >= 0) {
options.angle = -camera.heading;
options.angle = camera.heading;
}
if (camera.pitch >= 0) {
options.pitch = camera.pitch;