summaryrefslogtreecommitdiff
path: root/include/mbgl/map
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 /include/mbgl/map
parent6a0c4e0142ef44d7c9f3f05e9a7ddfed985809ad (diff)
downloadqtlocation-mapboxgl-ddc6dcf9cdaee59e6f31b7bfa05932f1980feba4.tar.gz
[core] Move {Map,Transform}::{get,set}{Min,Max}Zoom to bounds pragma
Diffstat (limited to 'include/mbgl/map')
-rw-r--r--include/mbgl/map/map.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index d4eb0ce8d1..b740c3462e 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -109,9 +109,11 @@ public:
CameraOptions cameraForLatLngs(const std::vector<LatLng>&, optional<EdgeInsets>) const;
LatLngBounds latLngBoundsForCamera(const CameraOptions&) const;
void resetZoom();
- void setMinZoom(const double minZoom);
+
+ // Bounds
+ void setMinZoom(double);
double getMinZoom() const;
- void setMaxZoom(const double maxZoom);
+ void setMaxZoom(double);
double getMaxZoom() const;
// Rotation