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.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/src/snapshotter/map_snapshotter.hpp b/platform/android/src/snapshotter/map_snapshotter.hpp
index 69895821ca..9239a5ea19 100644
--- a/platform/android/src/snapshotter/map_snapshotter.hpp
+++ b/platform/android/src/snapshotter/map_snapshotter.hpp
@@ -7,6 +7,7 @@
#include "../geometry/lat_lng_bounds.hpp"
#include "../map/camera_position.hpp"
#include "../style/layers/layer.hpp"
+#include "../style/sources/source.hpp"
#include <jni/jni.hpp>
@@ -54,6 +55,7 @@ public:
void addLayerAt(JNIEnv&, jlong, jni::jint);
void addLayerBelow(JNIEnv&, jlong, const jni::String&);
void addLayerAbove(JNIEnv&, jlong, const jni::String&);
+ void addSource(JNIEnv&, const jni::Object<Source>&, jlong nativePtr);
// MapSnapshotterObserver overrides
void onDidFailLoadingStyle(const std::string&) override;