diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-03-23 18:10:16 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-03-24 13:51:35 +0200 |
commit | 80915992ab4e970ca005009ca1175bae24cb448b (patch) | |
tree | 75cfac7d0933b77ad5e93e95471cc0b96e85ba88 /include/mbgl/map/map.hpp | |
parent | e67abfbe67d7c08e90fdbd8727c4e9ed17dfa1ed (diff) | |
download | qtlocation-mapboxgl-80915992ab4e970ca005009ca1175bae24cb448b.tar.gz |
[core] Added Map::latLngBoundsForCamera
Diffstat (limited to 'include/mbgl/map/map.hpp')
-rw-r--r-- | include/mbgl/map/map.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index 30963f25db..d4eb0ce8d1 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -107,6 +107,7 @@ public: void setLatLngZoom(const LatLng&, double zoom, optional<EdgeInsets>, const AnimationOptions& = {}); CameraOptions cameraForLatLngBounds(const LatLngBounds&, optional<EdgeInsets>) const; CameraOptions cameraForLatLngs(const std::vector<LatLng>&, optional<EdgeInsets>) const; + LatLngBounds latLngBoundsForCamera(const CameraOptions&) const; void resetZoom(); void setMinZoom(const double minZoom); double getMinZoom() const; |