diff options
author | Ansis Brammanis <brammanis@gmail.com> | 2015-08-24 16:44:46 -0400 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2015-10-26 12:48:03 -0700 |
commit | 750c72f324464e8c2a91c8148299cc57c520c5c4 (patch) | |
tree | a8bbfe397a7d225a11b182913e8688feb9da8bbd /include | |
parent | bb6241844a092cf632fe740e6ac79c920117dd4e (diff) | |
download | qtlocation-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.hpp | 1 |
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(); |