summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2019-02-27 17:49:01 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2019-03-04 14:45:32 +0200
commit02f2b9c75c4031c084c177a582f18d3e888596fa (patch)
treef8ee3cb99c0ad7b14613373407df539bfeddf1d5 /include
parent362231e2d02333e301b0ec70c85e5ac4e7741bf3 (diff)
downloadqtlocation-mapboxgl-02f2b9c75c4031c084c177a582f18d3e888596fa.tar.gz
[core] Added Map::scaleBy()
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 fec67eb281..35821457fa 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -81,6 +81,7 @@ public:
void resetPosition(const EdgeInsets& = {});
// Zoom
+ void scaleBy(double scale, optional<ScreenCoordinate> anchor, const AnimationOptions& animation);
void setZoom(double zoom, const AnimationOptions& = {});
void setZoom(double zoom, optional<ScreenCoordinate>, const AnimationOptions& = {});
void setZoom(double zoom, const EdgeInsets&, const AnimationOptions& = {});