diff options
author | Osana Babayan <32496536+osana@users.noreply.github.com> | 2018-02-08 08:44:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-08 08:44:24 -0500 |
commit | 4498917a3b9dbf6cc9728da01f479a027f27f902 (patch) | |
tree | 5d432d0d57e4b0ec34936c04ddfa7fc5c8cac328 /platform/android/src/geojson/feature_collection.cpp | |
parent | 2ed069cb0a4e057d0a6135530e073d7094e6c4ee (diff) | |
download | qtlocation-mapboxgl-4498917a3b9dbf6cc9728da01f479a027f27f902.tar.gz |
migrated to use mapbox-java3.0
migrated to use mapbox-java3.0
note that old 2.2.9 telementry is still used though
Diffstat (limited to 'platform/android/src/geojson/feature_collection.cpp')
-rw-r--r-- | platform/android/src/geojson/feature_collection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/android/src/geojson/feature_collection.cpp b/platform/android/src/geojson/feature_collection.cpp index 2f156532ae..59f1e317e6 100644 --- a/platform/android/src/geojson/feature_collection.cpp +++ b/platform/android/src/geojson/feature_collection.cpp @@ -7,7 +7,7 @@ namespace android { namespace geojson { mbgl::FeatureCollection FeatureCollection::convert(jni::JNIEnv& env, jni::Object<FeatureCollection> jCollection) { - auto jFeatureList = FeatureCollection::getFeatures(env, jCollection); + auto jFeatureList = FeatureCollection::features(env, jCollection); auto jFeatures = java::util::List::toArray<Feature>(env, jFeatureList); auto size = size_t(jFeatures.Length(env)); @@ -23,8 +23,8 @@ mbgl::FeatureCollection FeatureCollection::convert(jni::JNIEnv& env, jni::Object return collection; } -jni::Object<java::util::List> FeatureCollection::getFeatures(jni::JNIEnv& env, jni::Object<FeatureCollection> jCollection) { - static auto method = FeatureCollection::javaClass.GetMethod<jni::Object<java::util::List> ()>(env, "getFeatures"); +jni::Object<java::util::List> FeatureCollection::features(jni::JNIEnv& env, jni::Object<FeatureCollection> jCollection) { + static auto method = FeatureCollection::javaClass.GetMethod<jni::Object<java::util::List> ()>(env, "features"); return jCollection.Call(env, method); } |