summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnsis Brammanis <brammanis@gmail.com>2015-08-18 08:47:08 -0400
committerAnsis Brammanis <brammanis@gmail.com>2015-08-24 18:41:51 -0400
commit14dee43a713d7155073630687a5ba6975d70f62b (patch)
tree61985ba9ac0751ed745f2e488d384175bcd4ec86 /include
parent9e68e49c896ff857c0c0bcf5281a74ab3b12cd13 (diff)
downloadqtlocation-mapboxgl-14dee43a713d7155073630687a5ba6975d70f62b.tar.gz
add map.setPitch(pitch) and map.getPitch()
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/map.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index ebd79620d6..bd8847d420 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -123,6 +123,10 @@ public:
double getBearing() const;
void resetNorth();
+ // Pitch
+ void setPitch(double pitch);
+ double getPitch() const;
+
// Size
uint16_t getWidth() const;
uint16_t getHeight() const;