summaryrefslogtreecommitdiff
path: root/platform/android/src/geojson/geometry_collection.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/geojson/geometry_collection.hpp')
-rw-r--r--platform/android/src/geojson/geometry_collection.hpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/platform/android/src/geojson/geometry_collection.hpp b/platform/android/src/geojson/geometry_collection.hpp
index 9ed9953b0d..9f02ac848d 100644
--- a/platform/android/src/geojson/geometry_collection.hpp
+++ b/platform/android/src/geojson/geometry_collection.hpp
@@ -8,17 +8,15 @@ namespace mbgl {
namespace android {
namespace geojson {
-class GeometryCollection : public Geometry {
+class GeometryCollection {
public:
+ using SuperTag = Geometry;
static constexpr auto Name() { return "com/mapbox/geojson/GeometryCollection"; };
-
static constexpr auto Type() { return "GeometryCollection"; };
- static jni::Object<GeometryCollection> New(jni::JNIEnv&, const mapbox::geometry::geometry_collection<double>&);
-
- static mapbox::geometry::geometry_collection<double> convert(jni::JNIEnv&, jni::Object<GeometryCollection>);
+ static jni::Local<jni::Object<GeometryCollection>> New(jni::JNIEnv&, const mapbox::geometry::geometry_collection<double>&);
- static jni::Class<GeometryCollection> javaClass;
+ static mapbox::geometry::geometry_collection<double> convert(jni::JNIEnv&, const jni::Object<GeometryCollection>&);
static void registerNative(jni::JNIEnv&);
};