27 lines
637 B
C++
27 lines
637 B
C++
#pragma once
|
|
|
|
#include <mbgl/util/noncopyable.hpp>
|
|
#include <mbgl/util/geo.hpp>
|
|
#include <mbgl/util/geometry.hpp>
|
|
|
|
#include <jni/jni.hpp>
|
|
#include <array>
|
|
|
|
namespace mbgl {
|
|
namespace android {
|
|
|
|
class LatLngQuad : private mbgl::util::noncopyable {
|
|
public:
|
|
|
|
static constexpr auto Name() { return "com/mapbox/mapboxsdk/geometry/LatLngQuad"; };
|
|
|
|
static jni::Local<jni::Object<LatLngQuad>> New(jni::JNIEnv&, std::array<mbgl::LatLng, 4>);
|
|
|
|
static std::array<mbgl::LatLng, 4> getLatLngArray(jni::JNIEnv&, const jni::Object<LatLngQuad>&);
|
|
|
|
static void registerNative(jni::JNIEnv&);
|
|
};
|
|
|
|
|
|
} // namespace android
|
|
} // namespace mbgl
|