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