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