diff options
author | Igor Tarasov <igor.tarasov@mapbox.com> | 2020-04-02 18:36:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-02 18:36:55 +0300 |
commit | 338cfd1b33dfe26b9402d79cc64609b944a9f1d1 (patch) | |
tree | 2db5f73682b226ad64489742596acee9337c0538 /platform/android/src/geojson/multi_polygon.hpp | |
parent | b7728d222cbcdb3e522fc3e482e69101b0b95481 (diff) | |
download | qtlocation-mapboxgl-338cfd1b33dfe26b9402d79cc64609b944a9f1d1.tar.gz |
[android] [build] [ci] Move Android JNI bindings code to mapbox-gl-native-android repo. (#16356)
Diffstat (limited to 'platform/android/src/geojson/multi_polygon.hpp')
-rw-r--r-- | platform/android/src/geojson/multi_polygon.hpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/platform/android/src/geojson/multi_polygon.hpp b/platform/android/src/geojson/multi_polygon.hpp deleted file mode 100644 index fd7b08016d..0000000000 --- a/platform/android/src/geojson/multi_polygon.hpp +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once - -#include <mbgl/util/geojson.hpp> -#include <mbgl/util/noncopyable.hpp> - -#include "../java/util.hpp" -#include "geometry.hpp" - -#include <jni/jni.hpp> - -namespace mbgl { -namespace android { -namespace geojson { - -class MultiPolygon { -public: - using SuperTag = Geometry; - static constexpr auto Name() { return "com/mapbox/geojson/MultiPolygon"; }; - static constexpr auto Type() { return "MultiPolygon"; }; - - static jni::Local<jni::Object<MultiPolygon>> New(jni::JNIEnv&, const mbgl::MultiPolygon<double>&); - - static mapbox::geojson::multi_polygon convert(jni::JNIEnv&, const jni::Object<MultiPolygon>&); - - static jni::Local<jni::Object<java::util::List>> coordinates(jni::JNIEnv&, const jni::Object<MultiPolygon>&); - - static void registerNative(jni::JNIEnv&); -}; - -} // namespace geojson -} // namespace android -} // namespace mbgl
\ No newline at end of file |