summaryrefslogtreecommitdiff
path: root/platform/android/src/style/sources/geojson_source.hpp
diff options
context:
space:
mode:
authortobrun <tobrun.van.nuland@gmail.com>2018-12-20 19:34:55 +0100
committerTobrun <tobrun@mapbox.com>2019-01-15 17:15:23 +0100
commit9ba0737e6a653cafec5d02982c06c31da970f6ca (patch)
tree7d6984708ee7518c60c738d380d5288b0d510792 /platform/android/src/style/sources/geojson_source.hpp
parent59cfce30849615c5657c2079c5912dd61254a25e (diff)
downloadqtlocation-mapboxgl-9ba0737e6a653cafec5d02982c06c31da970f6ca.tar.gz
[android] - expose query feature extensions
Diffstat (limited to 'platform/android/src/style/sources/geojson_source.hpp')
-rw-r--r--platform/android/src/style/sources/geojson_source.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/android/src/style/sources/geojson_source.hpp b/platform/android/src/style/sources/geojson_source.hpp
index 20e8b6873b..e737e41924 100644
--- a/platform/android/src/style/sources/geojson_source.hpp
+++ b/platform/android/src/style/sources/geojson_source.hpp
@@ -5,6 +5,7 @@
#include "../../geojson/geometry.hpp"
#include "../../geojson/feature.hpp"
#include "../../geojson/feature_collection.hpp"
+#include "../../android_renderer_frontend.hpp"
#include <jni/jni.hpp>
namespace mbgl {
@@ -49,6 +50,10 @@ private:
jni::Local<jni::Array<jni::Object<geojson::Feature>>> querySourceFeatures(jni::JNIEnv&,
const jni::Array<jni::Object<>>&);
+ jni::Local<jni::Array<jni::Object<geojson::Feature>>> getClusterChildren(jni::JNIEnv&, const jni::Object<geojson::Feature>&);
+ jni::Local<jni::Array<jni::Object<geojson::Feature>>> getClusterLeaves(jni::JNIEnv&, const jni::Object<geojson::Feature>&, jni::jlong, jni::jlong);
+ jint getClusterExpansionZoom(jni::JNIEnv&, const jni::Object<geojson::Feature>&);
+
jni::Local<jni::String> getURL(jni::JNIEnv&);
jni::Local<jni::Object<Source>> createJavaPeer(jni::JNIEnv&);