diff options
Diffstat (limited to 'src/mbgl/map/transform.hpp')
-rw-r--r-- | src/mbgl/map/transform.hpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/mbgl/map/transform.hpp b/src/mbgl/map/transform.hpp index 993f8f2c5f..2c59a6c1aa 100644 --- a/src/mbgl/map/transform.hpp +++ b/src/mbgl/map/transform.hpp @@ -65,26 +65,6 @@ public: // Zoom - /** Scales the map, keeping the given point fixed within the view. - @param ds The difference in scale factors to scale the map by. */ - void scaleBy(double ds, const AnimationOptions& = {}); - /** Scales the map, keeping the given point fixed within the view. - @param ds The difference in scale factors to scale the map by. - @param anchor A point relative to the top-left corner of the view. - If unspecified, the center point is fixed within the view. */ - void scaleBy(double ds, optional<ScreenCoordinate> anchor, const AnimationOptions& = {}); - /** Sets the scale factor, keeping the given point fixed within the view. - @param scale The new scale factor. */ - void setScale(double scale, const AnimationOptions& = {}); - /** Sets the scale factor, keeping the given point fixed within the view. - @param scale The new scale factor. - @param anchor A point relative to the top-left corner of the view. - If unspecified, the center point is fixed within the view. */ - void setScale(double scale, optional<ScreenCoordinate> anchor, const AnimationOptions& = {}); - /** Sets the scale factor, keeping the center point fixed within the inset view. - @param scale The new scale factor. - @param padding The viewport padding that affects the fixed center point. */ - void setScale(double scale, const EdgeInsets& padding, const AnimationOptions& = {}); /** Sets the zoom level, keeping the given point fixed within the view. @param zoom The new zoom level. */ void setZoom(double zoom, const AnimationOptions& = {}); @@ -99,8 +79,6 @@ public: void setZoom(double zoom, const EdgeInsets& padding, const AnimationOptions& = {}); /** Returns the zoom level. */ double getZoom() const; - /** Returns the scale factor. */ - double getScale() const; // Angle |