diff options
author | osana <osana.babayan@mapbox.com> | 2018-11-29 13:39:09 -0500 |
---|---|---|
committer | “osana” <osana.babayan@mapbox.com> | 2018-12-10 21:24:20 -0500 |
commit | 6a9706adafe993cec3f6990315bda9b0ecd1108f (patch) | |
tree | 05413a46425ff556b5c0af94a60c7eda61ae102d /platform/android/src/style/sources/custom_geometry_source.cpp | |
parent | ebd87a5442772e9e840cd5c00be56cccfddb5c68 (diff) | |
download | qtlocation-mapboxgl-6a9706adafe993cec3f6990315bda9b0ecd1108f.tar.gz |
native should be called only with LatLngUnwrappedBoundsupstream/osana-latlngunwrapbounds
Diffstat (limited to 'platform/android/src/style/sources/custom_geometry_source.cpp')
-rw-r--r-- | platform/android/src/style/sources/custom_geometry_source.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/style/sources/custom_geometry_source.cpp b/platform/android/src/style/sources/custom_geometry_source.cpp index 057f5c99ba..0c3b582e3e 100644 --- a/platform/android/src/style/sources/custom_geometry_source.cpp +++ b/platform/android/src/style/sources/custom_geometry_source.cpp @@ -142,7 +142,7 @@ namespace android { } void CustomGeometrySource::invalidateBounds(jni::JNIEnv& env, const jni::Object<LatLngBounds>& jBounds) { - auto bounds = LatLngBounds::getLatLngBounds(env, jBounds); + auto bounds = LatLngBounds::getLatLngUnwrappedBounds(env, jBounds); source.as<mbgl::style::CustomGeometrySource>()->CustomGeometrySource::invalidateRegion(bounds); } |