diff options
author | Osana Babayan <32496536+osana@users.noreply.github.com> | 2018-02-08 10:33:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-08 10:33:12 -0500 |
commit | 7a0a4c44f469e180606afa250a47414441e8e675 (patch) | |
tree | 97f69e610913a055dfc9bc712555a4687d328b54 /platform/android/src/geojson/geometry.cpp | |
parent | 62ae0738e8a3d1b3e4b661fa7e8d8bb1d6339c51 (diff) | |
download | qtlocation-mapboxgl-7a0a4c44f469e180606afa250a47414441e8e675.tar.gz |
migrated to use mapbox-java3.0
migrated to use mapbox-java3.0
old 2.2.9 telementry is still used though
Diffstat (limited to 'platform/android/src/geojson/geometry.cpp')
-rw-r--r-- | platform/android/src/geojson/geometry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/geojson/geometry.cpp b/platform/android/src/geojson/geometry.cpp index 33bb4ee3db..ca19d8fb03 100644 --- a/platform/android/src/geojson/geometry.cpp +++ b/platform/android/src/geojson/geometry.cpp @@ -33,7 +33,7 @@ mapbox::geojson::geometry Geometry::convert(jni::JNIEnv &env, jni::Object<Geomet } std::string Geometry::getType(jni::JNIEnv &env, jni::Object<Geometry> jGeometry) { - static auto method = Geometry::javaClass.GetMethod<jni::String ()>(env, "getType"); + static auto method = Geometry::javaClass.GetMethod<jni::String ()>(env, "type"); auto jType = jGeometry.Call(env, method); auto type = jni::Make<std::string>(env, jType); jni::DeleteLocalRef(env, jType); |