diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-01-26 16:59:54 -0800 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-01-26 18:49:01 -0800 |
commit | 8a23bdcd0194ec86857ff4dd1201b98dfe49bb48 (patch) | |
tree | 4d54330e88f855d5c5be770f770182b77fd4a3b2 /include/mbgl/map | |
parent | 97fc2120c43ed53d3baa4a55f7fe1bb72e36427d (diff) | |
download | qtlocation-mapboxgl-8a23bdcd0194ec86857ff4dd1201b98dfe49bb48.tar.gz |
[core, ios, osx] Tilt around visual center point
The tilt gesture on both iOS and OS X now respects the content insets. On iOS, in user tracking mode, it additionally respects the user dot’s position if it’s aligned to the top or bottom of the view.
Diffstat (limited to 'include/mbgl/map')
-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 84af449fac..1112ac6c93 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -130,6 +130,7 @@ public: // Pitch void setPitch(double pitch, const Duration& = Duration::zero()); + void setPitch(double pitch, const PrecisionPoint&, const Duration& = Duration::zero()); double getPitch() const; // North Orientation |