[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:
committed by
Minh Nguyễn
parent
3aa995bbe1
commit
89cf6c6006
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user