diff options
author | tobrun <tobrun.van.nuland@gmail.com> | 2019-06-10 12:54:38 +0200 |
---|---|---|
committer | Tobrun <tobrun.van.nuland@gmail.com> | 2019-06-11 10:10:51 +0200 |
commit | df062afe6de7ec6e4a4d3c88389bbb5279b63a06 (patch) | |
tree | ba383583c6f052d601f854cca7271f34acabfa9e /platform/android/src | |
parent | 6262b83cc683db83aef4b3d74b29a04be53fdc3a (diff) | |
download | qtlocation-mapboxgl-df062afe6de7ec6e4a4d3c88389bbb5279b63a06.tar.gz |
[android] - fix reset behavior for setLatLngBoundsForCameraTarget
Diffstat (limited to 'platform/android/src')
-rwxr-xr-x | platform/android/src/native_map_view.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/native_map_view.cpp b/platform/android/src/native_map_view.cpp index 8493110d75..48b65c4c02 100755 --- a/platform/android/src/native_map_view.cpp +++ b/platform/android/src/native_map_view.cpp @@ -314,7 +314,7 @@ void NativeMapView::setLatLngBounds(jni::JNIEnv& env, const jni::Object<mbgl::an if (jBounds) { bounds.withLatLngBounds(mbgl::android::LatLngBounds::getLatLngBounds(env, jBounds)); } else { - bounds.withLatLngBounds(mbgl::LatLngBounds::world()); + bounds.withLatLngBounds(mbgl::LatLngBounds::unbounded()); } map->setBounds(bounds); } |