blob: d5cc7780f3914d6dee79a7e49b94aec80c6dc7af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#pragma once
#include <mbgl/util/geometry.hpp>
#include "geometry.hpp"
#include <jni/jni.hpp>
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<Point> New(jni::JNIEnv&, const mbgl::Point<double>&);
static mbgl::Point<double> convert(jni::JNIEnv&, jni::Object<Point>);
static void registerNative(jni::JNIEnv&);
};
} // namespace geojson
} // namespace android
} // namespace mbgl
|