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