summaryrefslogtreecommitdiff
path: root/platform/android/src/style/sources/custom_geometry_source.hpp
diff options
context:
space:
mode:
authorŁukasz Paczos <lukas.paczos@gmail.com>2018-07-30 15:09:35 +0200
committerŁukasz Paczos <lukasz.paczos@mapbox.com>2018-08-23 18:29:55 +0200
commitf9fd9c0f0086fa2883aa2125c9b95c599c83c4e5 (patch)
treee06293c4b89a942c99b31ea6ad10d9339598ba8b /platform/android/src/style/sources/custom_geometry_source.hpp
parent51f3842a28f579e6da0389f4634e89b8374a3f9e (diff)
downloadqtlocation-mapboxgl-f9fd9c0f0086fa2883aa2125c9b95c599c83c4e5.tar.gz
[android] synchronize and coalesce requests targeting the same TileID in the CustomGeometrySource
Diffstat (limited to 'platform/android/src/style/sources/custom_geometry_source.hpp')
-rw-r--r--platform/android/src/style/sources/custom_geometry_source.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/android/src/style/sources/custom_geometry_source.hpp b/platform/android/src/style/sources/custom_geometry_source.hpp
index c38926a5b9..801f81b089 100644
--- a/platform/android/src/style/sources/custom_geometry_source.hpp
+++ b/platform/android/src/style/sources/custom_geometry_source.hpp
@@ -33,6 +33,7 @@ public:
void fetchTile(const mbgl::CanonicalTileID& tileID);
void cancelTile(const mbgl::CanonicalTileID& tileID);
+ bool isCancelled(jni::jint z, jni::jint x, jni::jint y);
void startThreads();
void releaseThreads();
void setTileData(jni::JNIEnv& env, jni::jint z, jni::jint x, jni::jint y, jni::Object<geojson::FeatureCollection> jf);