summaryrefslogtreecommitdiff
path: root/platform/android/src/style/sources/source.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/style/sources/source.hpp')
-rw-r--r--platform/android/src/style/sources/source.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/android/src/style/sources/source.hpp b/platform/android/src/style/sources/source.hpp
index 93b706425a..91e31ea8e2 100644
--- a/platform/android/src/style/sources/source.hpp
+++ b/platform/android/src/style/sources/source.hpp
@@ -43,6 +43,10 @@ public:
jni::Local<jni::String> getAttribution(jni::JNIEnv&);
+ void setPrefetchZoomDelta(jni::JNIEnv& env, jni::Integer& delta);
+
+ jni::Local<jni::Integer> getPrefetchZoomDelta(jni::JNIEnv&);
+
protected:
// Set on newly created sources until added to the map.
std::unique_ptr<mbgl::style::Source> ownedSource;