summaryrefslogtreecommitdiff
path: root/platform/android/src/geojson/geometry_collection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/geojson/geometry_collection.cpp')
-rw-r--r--platform/android/src/geojson/geometry_collection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/geojson/geometry_collection.cpp b/platform/android/src/geojson/geometry_collection.cpp
index eb3a790404..770cb9a5d6 100644
--- a/platform/android/src/geojson/geometry_collection.cpp
+++ b/platform/android/src/geojson/geometry_collection.cpp
@@ -30,7 +30,7 @@ jni::Object<GeometryCollection> GeometryCollection::New(jni::JNIEnv& env, const
mapbox::geometry::geometry_collection<double> GeometryCollection::convert(jni::JNIEnv &env, jni::Object<GeometryCollection> jCollection) {
// Get geometries
- static auto getGeometries = javaClass.GetMethod<jni::Object<java::util::List> ()>(env, "getGeometries");
+ static auto getGeometries = javaClass.GetMethod<jni::Object<java::util::List> ()>(env, "geometries");
auto jList = jCollection.Call(env, getGeometries);
// Turn into array