23 lines
537 B
C++
23 lines
537 B
C++
#pragma once
|
|
|
|
#include <mbgl/util/feature.hpp>
|
|
|
|
#include <jni/jni.hpp>
|
|
|
|
namespace mbgl {
|
|
namespace android {
|
|
namespace geojson {
|
|
|
|
class Feature {
|
|
public:
|
|
static constexpr auto Name() { return "com/mapbox/geojson/Feature"; };
|
|
|
|
static mbgl::Feature convert(jni::JNIEnv&, const jni::Object<Feature>&);
|
|
static jni::Local<jni::Array<jni::Object<Feature>>> convert(jni::JNIEnv&, const std::vector<mbgl::Feature>&);
|
|
|
|
static void registerNative(jni::JNIEnv&);
|
|
};
|
|
|
|
} // namespace geojson
|
|
} // namespace android
|
|
} // namespace mbgl
|