Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
27 lines
612 B
C++
27 lines
612 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
|