summaryrefslogtreecommitdiff
path: root/platform/android/src
diff options
context:
space:
mode:
authortobrun <tobrun.van.nuland@gmail.com>2019-06-10 12:54:38 +0200
committerTobrun <tobrun.van.nuland@gmail.com>2019-06-11 10:10:51 +0200
commitdf062afe6de7ec6e4a4d3c88389bbb5279b63a06 (patch)
treeba383583c6f052d601f854cca7271f34acabfa9e /platform/android/src
parent6262b83cc683db83aef4b3d74b29a04be53fdc3a (diff)
downloadqtlocation-mapboxgl-df062afe6de7ec6e4a4d3c88389bbb5279b63a06.tar.gz
[android] - fix reset behavior for setLatLngBoundsForCameraTarget
Diffstat (limited to 'platform/android/src')
-rwxr-xr-xplatform/android/src/native_map_view.cpp2
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);
}