summaryrefslogtreecommitdiff
path: root/platform/android/src/geometry/lat_lng_bounds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/geometry/lat_lng_bounds.cpp')
-rw-r--r--platform/android/src/geometry/lat_lng_bounds.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/platform/android/src/geometry/lat_lng_bounds.cpp b/platform/android/src/geometry/lat_lng_bounds.cpp
index d76ff5b365..cf534a06e4 100644
--- a/platform/android/src/geometry/lat_lng_bounds.cpp
+++ b/platform/android/src/geometry/lat_lng_bounds.cpp
@@ -19,8 +19,6 @@ mbgl::LatLngBounds LatLngBounds::getLatLngBounds(jni::JNIEnv& env, const jni::Ob
mbgl::LatLng sw = { bounds.Get(env, swLatField), bounds.Get(env, swLonField) };
mbgl::LatLng ne = { bounds.Get(env, neLatField), bounds.Get(env, neLonField) };
- sw.unwrapForShortestPath(ne);
-
return mbgl::LatLngBounds::hull(sw, ne);
}