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

26 lines
611 B
C++

#pragma once
#include "../java/util.hpp"
#include <mbgl/util/geojson.hpp>
#include <jni/jni.hpp>
namespace mbgl {
namespace android {
namespace geojson {
class FeatureCollection {
public:
static constexpr auto Name() { return "org/maplibre/geojson/FeatureCollection"; };
static mbgl::FeatureCollection convert(jni::JNIEnv&, const jni::Object<FeatureCollection>&);
static jni::Local<jni::Object<java::util::List>> features(jni::JNIEnv&, const jni::Object<FeatureCollection>&);
static void registerNative(jni::JNIEnv&);
};
} // namespace geojson
} // namespace android
} // namespace mbgl