summaryrefslogtreecommitdiff
path: root/platform/qt/src
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2019-02-27 19:58:20 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2019-03-04 14:45:32 +0200
commit491fce68790e05cd0a876815751dc5cb72a2761e (patch)
treeb735688c802407f38fe6fdbc5c32a8bd6c5ca93e /platform/qt/src
parent02f2b9c75c4031c084c177a582f18d3e888596fa (diff)
downloadqtlocation-mapboxgl-491fce68790e05cd0a876815751dc5cb72a2761e.tar.gz
[core] Added Map::pitchBy()
Diffstat (limited to 'platform/qt/src')
-rw-r--r--platform/qt/src/qmapboxgl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/qt/src/qmapboxgl.cpp b/platform/qt/src/qmapboxgl.cpp
index e512b23901..cc4028b64d 100644
--- a/platform/qt/src/qmapboxgl.cpp
+++ b/platform/qt/src/qmapboxgl.cpp
@@ -885,6 +885,11 @@ void QMapboxGL::setPitch(double pitch_)
d_ptr->mapObj->setPitch(pitch_);
}
+void QMapboxGL::pitchBy(double pitch_)
+{
+ d_ptr->mapObj->pitchBy(pitch_);
+}
+
/*!
Returns the north orientation mode.
*/