summaryrefslogtreecommitdiff
path: root/include/mbgl
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 /include/mbgl
parent02f2b9c75c4031c084c177a582f18d3e888596fa (diff)
downloadqtlocation-mapboxgl-491fce68790e05cd0a876815751dc5cb72a2761e.tar.gz
[core] Added Map::pitchBy()
Diffstat (limited to 'include/mbgl')
-rw-r--r--include/mbgl/map/map.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index 35821457fa..06772f2cd2 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -90,6 +90,9 @@ public:
void setLatLngZoom(const LatLng&, double zoom, const EdgeInsets&, const AnimationOptions& = {});
void resetZoom();
+ // Pitch
+ void pitchBy(double pitch, const AnimationOptions& animation = {});
+
// Bounds
void setLatLngBounds(optional<LatLngBounds>);
optional<LatLngBounds> getLatLngBounds() const;