diff options
Diffstat (limited to 'platform/qt/src/qmapboxgl.cpp')
-rw-r--r-- | platform/qt/src/qmapboxgl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/qt/src/qmapboxgl.cpp b/platform/qt/src/qmapboxgl.cpp index e1fe7f5a37..ceed411ca3 100644 --- a/platform/qt/src/qmapboxgl.cpp +++ b/platform/qt/src/qmapboxgl.cpp @@ -808,10 +808,10 @@ void QMapboxGL::jumpTo(const QMapboxGLCameraOptions& camera) mbglCamera.zoom = camera.zoom.value<double>(); } if (camera.angle.isValid()) { - mbglCamera.angle = -camera.angle.value<double>() * mbgl::util::DEG2RAD; + mbglCamera.angle = camera.angle.value<double>(); } if (camera.pitch.isValid()) { - mbglCamera.pitch = camera.pitch.value<double>() * mbgl::util::DEG2RAD; + mbglCamera.pitch = camera.pitch.value<double>(); } mbglCamera.padding = d_ptr->margins; |