diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-06-01 00:58:03 +0300 |
---|---|---|
committer | Fabian Guerra <fabian.guerra@mapbox.com> | 2017-06-01 13:46:53 -0400 |
commit | 0d171dbe0e2d172190c21f98fb2cc4a1819ed9a2 (patch) | |
tree | 2818518d59d395a683c16febc2db852626974327 /include/mbgl | |
parent | b2f277ac620cc41883dad8e06bb45458c18ffe72 (diff) | |
download | qtlocation-mapboxgl-0d171dbe0e2d172190c21f98fb2cc4a1819ed9a2.tar.gz |
[core] Make TransformState LatLngBounds optional
Diffstat (limited to 'include/mbgl')
-rw-r--r-- | include/mbgl/map/map.hpp | 4 |
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); |