summaryrefslogtreecommitdiff
path: root/src/mbgl/map/transform.hpp
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-03-30 16:24:21 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-04-11 12:51:09 +0300
commitddc6dcf9cdaee59e6f31b7bfa05932f1980feba4 (patch)
treef8971cba38b289d639186d2bdcaf62977ccb20fb /src/mbgl/map/transform.hpp
parent6a0c4e0142ef44d7c9f3f05e9a7ddfed985809ad (diff)
downloadqtlocation-mapboxgl-ddc6dcf9cdaee59e6f31b7bfa05932f1980feba4.tar.gz
[core] Move {Map,Transform}::{get,set}{Min,Max}Zoom to bounds pragma
Diffstat (limited to 'src/mbgl/map/transform.hpp')
-rw-r--r--src/mbgl/map/transform.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mbgl/map/transform.hpp b/src/mbgl/map/transform.hpp
index 15b97cb198..4b97e07b52 100644
--- a/src/mbgl/map/transform.hpp
+++ b/src/mbgl/map/transform.hpp
@@ -55,6 +55,11 @@ public:
LatLng getLatLng(optional<EdgeInsets> = {}) const;
ScreenCoordinate getScreenCoordinate(optional<EdgeInsets> = {}) const;
+ // Bounds
+
+ void setMinZoom(double);
+ void setMaxZoom(double);
+
// Zoom
/** Scales the map, keeping the given point fixed within the view.
@@ -94,9 +99,6 @@ public:
/** Returns the scale factor. */
double getScale() const;
- void setMinZoom(const double minZoom);
- void setMaxZoom(const double maxZoom);
-
// Angle
void rotateBy(const ScreenCoordinate& first, const ScreenCoordinate& second, const AnimationOptions& = {});