Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
21 lines
441 B
C++
21 lines
441 B
C++
#pragma once
|
|
|
|
#include <mbgl/annotation/annotation.hpp>
|
|
|
|
#include "multi_point.hpp"
|
|
|
|
namespace mbgl {
|
|
namespace android {
|
|
|
|
class Polygon : private MultiPoint {
|
|
public:
|
|
static constexpr auto Name() { return "org/maplibre/android/annotations/Polygon"; };
|
|
|
|
static mbgl::FillAnnotation toAnnotation(jni::JNIEnv&, const jni::Object<Polygon>&);
|
|
|
|
static void registerNative(jni::JNIEnv&);
|
|
};
|
|
|
|
} // namespace android
|
|
} // namespace mbgl
|