Files
MapLibreParticleLab/platform/android/MapLibreAndroid/src/cpp/geojson/geometry_collection.hpp
2024-04-05 08:22:39 -05:00

27 lines
767 B
C++

#pragma once
#include "geometry.hpp"
#include <jni/jni.hpp>
namespace mbgl {
namespace android {
namespace geojson {
class GeometryCollection {
public:
using SuperTag = Geometry;
static constexpr auto Name() { return "org/maplibre/geojson/GeometryCollection"; };
static constexpr auto Type() { return "GeometryCollection"; };
static jni::Local<jni::Object<GeometryCollection>> New(jni::JNIEnv&,
const mapbox::geometry::geometry_collection<double>&);
static mapbox::geometry::geometry_collection<double> convert(jni::JNIEnv&, const jni::Object<GeometryCollection>&);
static void registerNative(jni::JNIEnv&);
};
} // namespace geojson
} // namespace android
} // namespace mbgl