summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-06-01 00:58:03 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-06-01 17:04:09 +0300
commit99cfbacdfba642e042132660b0201db0984b6d22 (patch)
tree65a2606947ab083550f46db93d800a982829dbcf /include
parent893584517182c270b7238a2fddb616a8a0e657d6 (diff)
downloadqtlocation-mapboxgl-99cfbacdfba642e042132660b0201db0984b6d22.tar.gz
[core] Make TransformState LatLngBounds optional
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/map.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index 00131cc5ea..289b5e21a4 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -102,8 +102,8 @@ public:
void resetZoom();
// Bounds
- void setLatLngBounds(const LatLngBounds&);
- LatLngBounds getLatLngBounds() const;
+ void setLatLngBounds(optional<LatLngBounds>);
+ optional<LatLngBounds> getLatLngBounds() const;
void setMinZoom(double);
double getMinZoom() const;
void setMaxZoom(double);