summaryrefslogtreecommitdiff
path: root/platform/android/src/style/sources/geojson_source.hpp
diff options
context:
space:
mode:
authorIvo van Dongen <info@ivovandongen.nl>2017-03-05 16:55:58 -0800
committerIvo van Dongen <ivovandongen@users.noreply.github.com>2017-03-09 13:11:23 -0800
commitb2b5f9e571e9fedfd682081a3832db7618b1049a (patch)
treea35978d009c4cf6f86cf26b4bf0a83c0b0f6cc16 /platform/android/src/style/sources/geojson_source.hpp
parent12568f21a39dfec7788ebee2815c4c0b2ee964d8 (diff)
downloadqtlocation-mapboxgl-b2b5f9e571e9fedfd682081a3832db7618b1049a.tar.gz
[android] query source features
Diffstat (limited to 'platform/android/src/style/sources/geojson_source.hpp')
-rw-r--r--platform/android/src/style/sources/geojson_source.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/android/src/style/sources/geojson_source.hpp b/platform/android/src/style/sources/geojson_source.hpp
index 10c51e81b2..5b529fc52a 100644
--- a/platform/android/src/style/sources/geojson_source.hpp
+++ b/platform/android/src/style/sources/geojson_source.hpp
@@ -2,6 +2,7 @@
#include "source.hpp"
#include <mbgl/style/sources/geojson_source.hpp>
+#include "../../geometry/feature.hpp"
#include <jni/jni.hpp>
namespace mbgl {
@@ -26,6 +27,8 @@ public:
void setURL(jni::JNIEnv&, jni::String);
+ jni::Array<jni::Object<Feature>> querySourceFeatures(jni::JNIEnv&, jni::Array<jni::Object<>> jfilter);
+
jni::jobject* createJavaPeer(jni::JNIEnv&);
}; // class GeoJSONSource