summaryrefslogtreecommitdiff
path: root/platform/android/src/geojson/conversion/feature.hpp
blob: d9fc0a0b673cf21e813a9769402816ae9b62162c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include "../../conversion/conversion.hpp"
#include "../feature.hpp"

#include <mbgl/util/feature.hpp>
#include <jni/jni.hpp>

#include <vector>

namespace mbgl {
namespace android {
namespace conversion {

template <>
struct Converter<jni::Array<jni::Object<android::geojson::Feature>>, std::vector<mbgl::Feature>> {
    Result<jni::Array<jni::Object<android::geojson::Feature>>> operator()(jni::JNIEnv& env, const std::vector<mbgl::Feature>& value) const;
};

} // namespace conversion
} // namespace android
} // namespace mbgl