#pragma once #include #include #include #include "geometry.hpp" #include "../java/util.hpp" #include namespace mbgl { namespace android { namespace geojson { class LineString { public: using SuperTag = Geometry; static constexpr auto Name() { return "com/mapbox/geojson/LineString"; }; static constexpr auto Type() { return "LineString"; }; static jni::Local> New(jni::JNIEnv&, const mbgl::LineString&); static mapbox::geojson::line_string convert(jni::JNIEnv&, const jni::Object&); static mapbox::geojson::line_string convert(jni::JNIEnv&, const jni::Object*/>&); static jni::Local> coordinates(jni::JNIEnv&, const jni::Object&); static void registerNative(jni::JNIEnv&); }; } // namespace geojson } // namespace android } // namespace mbgl