summaryrefslogtreecommitdiff
path: root/src/mbgl/map/transform.hpp
diff options
context:
space:
mode:
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& = {});