summaryrefslogtreecommitdiff
path: root/platform/default/include
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2020-02-27 16:42:57 +0200
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2020-03-05 17:43:37 +0200
commit174f40dee3bd2c3c3360e4e5e506f99a4ed35b89 (patch)
tree4143360451a48339807fe78115186f04d0e9f5ae /platform/default/include
parent1577a6b53764e3093b31969cc69de41c7ebf2978 (diff)
downloadqtlocation-mapboxgl-174f40dee3bd2c3c3360e4e5e506f99a4ed35b89.tar.gz
[core] Add Snapshotter::cancel method
Diffstat (limited to 'platform/default/include')
-rw-r--r--platform/default/include/mbgl/map/map_snapshotter.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/default/include/mbgl/map/map_snapshotter.hpp b/platform/default/include/mbgl/map/map_snapshotter.hpp
index 2f7a4e6c0c..df5711777d 100644
--- a/platform/default/include/mbgl/map/map_snapshotter.hpp
+++ b/platform/default/include/mbgl/map/map_snapshotter.hpp
@@ -54,6 +54,7 @@ public:
using Attributions = std::vector<std::string>;
using Callback = std::function<void (std::exception_ptr, PremultipliedImage, Attributions, PointForFn, LatLngForFn)>;
void snapshot(Callback);
+ void cancel();
private:
class Impl;