summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-06-01 00:58:03 +0300
committerFabian Guerra <fabian.guerra@mapbox.com>2017-06-01 13:46:53 -0400
commit0d171dbe0e2d172190c21f98fb2cc4a1819ed9a2 (patch)
tree2818518d59d395a683c16febc2db852626974327 /include
parentb2f277ac620cc41883dad8e06bb45458c18ffe72 (diff)
downloadqtlocation-mapboxgl-0d171dbe0e2d172190c21f98fb2cc4a1819ed9a2.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 1c0c2c544b..8072eda7dd 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -109,8 +109,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);