summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2015-09-15 14:15:37 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2015-10-21 11:06:51 -0700
commit5db4670d789b120363e460c37415add02bca55ee (patch)
treec89447eaba105695bdf338cbeb971b318b2f5e9a /include
parent717cbd32ade134cb36f350f64d8d35cf2d9d21fa (diff)
downloadqtlocation-mapboxgl-5db4670d789b120363e460c37415add02bca55ee.tar.gz
[core] Added more transform state getters
Some platforms requires specific information that was previously not available in public API, but stored internally in TransformState object.
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 70807f126f..9661bcc7bc 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -86,6 +86,10 @@ public:
// Transition
void cancelTransitions();
void setGestureInProgress(bool);
+ bool isGestureInProgress() const;
+ bool isRotating() const;
+ bool isScaling() const;
+ bool isPanning() const;
// Camera
void jumpTo(CameraOptions options);