diff options
author | Bharath MG <mgbharath@ymail.com> | 2016-07-24 04:07:49 +0530 |
---|---|---|
committer | Bharath MG <mgbharath@ymail.com> | 2016-07-24 04:07:49 +0530 |
commit | e16c906bbfb7ca27d231eb8c9fcd6be2b7bbda73 (patch) | |
tree | b60d7821fd4b19957845284948460e4b39285574 /platform/android/src/jni.cpp | |
parent | 0e602385967612a2d231d3006765cfcbce65fd71 (diff) | |
download | qtlocation-mapboxgl-e16c906bbfb7ca27d231eb8c9fcd6be2b7bbda73.tar.gz |
[android] fixes #5762. Passing pixel points to native jni for getting latlng.
Diffstat (limited to 'platform/android/src/jni.cpp')
-rwxr-xr-x | platform/android/src/jni.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/jni.cpp b/platform/android/src/jni.cpp index 1870cb433f..7c5694153c 100755 --- a/platform/android/src/jni.cpp +++ b/platform/android/src/jni.cpp @@ -1689,7 +1689,7 @@ extern "C" JNIEXPORT jint JNI_OnLoad(JavaVM *vm, void *reserved) { MAKE_NATIVE_METHOD(nativeProjectedMetersForLatLng, "(JDD)Lcom/mapbox/mapboxsdk/geometry/ProjectedMeters;"), MAKE_NATIVE_METHOD(nativeLatLngForProjectedMeters, "(JDD)Lcom/mapbox/mapboxsdk/geometry/LatLng;"), MAKE_NATIVE_METHOD(nativePixelForLatLng, "(JDD)Landroid/graphics/PointF;"), - MAKE_NATIVE_METHOD(nativeLatLngForPixel, "(JLandroid/graphics/PointF;)Lcom/mapbox/mapboxsdk/geometry/LatLng;"), + MAKE_NATIVE_METHOD(nativeLatLngForPixel, "(JFF)Lcom/mapbox/mapboxsdk/geometry/LatLng;"), MAKE_NATIVE_METHOD(nativeGetTopOffsetPixelsForAnnotationSymbol, "(JLjava/lang/String;)D"), MAKE_NATIVE_METHOD(nativeJumpTo, "(JDDDDD)V"), MAKE_NATIVE_METHOD(nativeEaseTo, "(JDDDJDDZ)V"), |