diff options
author | Peng Liu <peng.liu@mapbox.com> | 2020-01-09 15:53:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-09 15:53:23 +0200 |
commit | 236afc03958cc729b3b8121a1c5a72660f0e9fa2 (patch) | |
tree | ad7da4d786c7ef7ce0ee14ecacd303e5a3eb34f2 /include | |
parent | d3a5ed968cc5288c171404d5c3f8d16a552ff28a (diff) | |
download | qtlocation-mapboxgl-236afc03958cc729b3b8121a1c5a72660f0e9fa2.tar.gz |
[android][core] Add `Map::latLngBoundsForCameraUnwrapped` and jni binding for `getVisibleCoordinateBounds`. (#16069)
* [android] Add getVisibleCoordinateBounds method.
* Fix Map::latLngBoundsForCamera, add Android binding for getVisibleRegionBounds.
* Add unit tests for CameraToLatLngBoundsWithRotation and CameraToLatLngBoundsCrossDateLine.
* Move API breaking changes to a new method name latLngBoundsForCameraUnwrapped.
Diffstat (limited to 'include')
-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 a3794962c6..62bb39e8c2 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -72,6 +72,7 @@ public: CameraOptions cameraForLatLngs(const std::vector<LatLng>&, const EdgeInsets&, optional<double> bearing = {}, optional<double> pitch = {}) const; CameraOptions cameraForGeometry(const Geometry<double>&, const EdgeInsets&, optional<double> bearing = {}, optional<double> pitch = {}) const; LatLngBounds latLngBoundsForCamera(const CameraOptions&) const; + LatLngBounds latLngBoundsForCameraUnwrapped(const CameraOptions&) const; /// @name Bounds /// @{ |