summaryrefslogtreecommitdiff
path: root/platform/android/src/snapshotter/map_snapshotter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/snapshotter/map_snapshotter.hpp')
-rw-r--r--platform/android/src/snapshotter/map_snapshotter.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/platform/android/src/snapshotter/map_snapshotter.hpp b/platform/android/src/snapshotter/map_snapshotter.hpp
index 3be2cb4f6c..1cc4d23a9d 100644
--- a/platform/android/src/snapshotter/map_snapshotter.hpp
+++ b/platform/android/src/snapshotter/map_snapshotter.hpp
@@ -54,6 +54,10 @@ public:
void start(JNIEnv&);
+ void queryFeatures(JNIEnv&, jni::jfloat, jni::jfloat, jni::jfloat,
+ jni::jfloat, jni::Array<jni::String>,
+ jni::Array<jni::Object<>> jfilter);
+
void cancel(JNIEnv&);
private:
@@ -66,7 +70,8 @@ private:
bool showLogo;
std::shared_ptr<mbgl::ThreadPool> threadPool;
- std::unique_ptr<Actor<mbgl::MapSnapshotter::Callback>> snapshotCallback;
+ std::unique_ptr<Actor<mbgl::MapSnapshotter::SnapshotCallback>> snapshotCallback;
+ std::unique_ptr<Actor<mbgl::MapSnapshotter::QueryFeaturesCallback>> queryFeaturesCallback;
std::unique_ptr<mbgl::MapSnapshotter> snapshotter;
FileSource *jFileSource;