diff options
Diffstat (limited to 'platform/android/src/style/sources/geojson_source.hpp')
-rw-r--r-- | platform/android/src/style/sources/geojson_source.hpp | 5 |
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 98d98e26b3..51ea452fb2 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 "../../geojson/geometry.hpp" #include "../../geojson/feature.hpp" #include "../../geojson/feature_collection.hpp" #include <jni/jni.hpp> @@ -28,6 +29,10 @@ public: void setFeatureCollection(jni::JNIEnv&, jni::Object<geojson::FeatureCollection>); + void setFeature(jni::JNIEnv&, jni::Object<geojson::Feature>); + + void setGeometry(jni::JNIEnv&, jni::Object<geojson::Geometry>); + void setURL(jni::JNIEnv&, jni::String); jni::Array<jni::Object<geojson::Feature>> querySourceFeatures(jni::JNIEnv&, |