From f1c06f8d837b57c1b10677fb5317f0bf20987cf6 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 11 Apr 2017 13:30:03 -0700 Subject: [all] Remove redundant scale-related camera methods We don't need to have two different measurement systems for map zoom. --- include/mbgl/map/map.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/mbgl/map') diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index c39009c8da..c41bce6809 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -95,10 +95,7 @@ public: LatLng getLatLng(const EdgeInsets& = {}) const; void resetPosition(const EdgeInsets& = {}); - // Scale - void scaleBy(double ds, optional = {}, const AnimationOptions& = {}); - void setScale(double scale, optional = {}, const AnimationOptions& = {}); - double getScale() const; + // Zoom void setZoom(double zoom, const AnimationOptions& = {}); void setZoom(double zoom, optional, const AnimationOptions& = {}); void setZoom(double zoom, const EdgeInsets&, const AnimationOptions& = {}); -- cgit v1.2.1