Files
MapLibreParticleLab/mapbox-gl-native-android/MapboxGLAndroidSDK/src/cpp/geojson/feature_collection.hpp
2020-12-16 17:31:00 +01:00

26 lines
609 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 "com/mapbox/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