diff options
author | Jason Wray <jason@mapbox.com> | 2017-02-11 02:06:20 -0500 |
---|---|---|
committer | Jason Wray <friedbunny@users.noreply.github.com> | 2017-02-13 18:35:04 -0500 |
commit | 4c311a0091caea8246b36fb63cee4dbec3a62234 (patch) | |
tree | 8fe3648fef434614153d617de38c925e0f3e4417 /include/mbgl/map | |
parent | 3b53259c93c5c3891aa162aaf0329890a1a9d5e8 (diff) | |
download | qtlocation-mapboxgl-4c311a0091caea8246b36fb63cee4dbec3a62234.tar.gz |
[core] Expose Map::setZoom with anchor parameter
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 c80420371d..c51d7e9ffd 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -98,6 +98,7 @@ public: void setScale(double scale, optional<ScreenCoordinate> = {}, const Duration& = Duration::zero()); double getScale() const; void setZoom(double zoom, const Duration& = Duration::zero()); + void setZoom(double zoom, optional<ScreenCoordinate>, const Duration& = Duration::zero()); void setZoom(double zoom, optional<EdgeInsets>, const Duration& = Duration::zero()); double getZoom() const; void setLatLngZoom(const LatLng&, double zoom, const Duration& = Duration::zero()); |