summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnsis Brammanis <brammanis@gmail.com>2015-08-24 16:44:46 -0400
committerMinh Nguyễn <mxn@1ec5.org>2015-10-26 12:48:03 -0700
commit750c72f324464e8c2a91c8148299cc57c520c5c4 (patch)
treea8bbfe397a7d225a11b182913e8688feb9da8bbd /include
parentbb6241844a092cf632fe740e6ac79c920117dd4e (diff)
downloadqtlocation-mapboxgl-750c72f324464e8c2a91c8148299cc57c520c5c4.tar.gz
improve gestures in perspective view
The location under your finger stays under your finger as you pan. The location you double tap to zoom stays at the same point. The location at the center of a pinch zoom stays at the center. The location at the center of a rotation stays at the center.
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/map.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index 65f988b5bf..52136aeb4b 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -98,6 +98,7 @@ public:
// Position
void moveBy(double dx, double dy, const Duration& = Duration::zero());
+ void setLatLng(LatLng latLng, vec2<double> point, const Duration& = Duration::zero());
void setLatLng(LatLng latLng, const Duration& = Duration::zero());
LatLng getLatLng() const;
void resetPosition();