summaryrefslogtreecommitdiff
path: root/platform/default/mbgl/map/map_snapshotter.hpp
diff options
context:
space:
mode:
authortobrun <tobrun.van.nuland@gmail.com>2018-06-26 18:07:18 +0200
committerTobrun <tobrun@mapbox.com>2018-07-05 18:50:21 +0200
commit99f9787cc4099b76401ab5b9a9ef7d2f894f9ab6 (patch)
tree638c3ab0d0c2ed723a841f6528a5ceacc9f3f056 /platform/default/mbgl/map/map_snapshotter.hpp
parent473dd9b23f3bbd933a3af52d896803659f80acfb (diff)
downloadqtlocation-mapboxgl-99f9787cc4099b76401ab5b9a9ef7d2f894f9ab6.tar.gz
[core] - add LatLng for screencoordinate to mapsnapshotter
Diffstat (limited to 'platform/default/mbgl/map/map_snapshotter.hpp')
-rw-r--r--platform/default/mbgl/map/map_snapshotter.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/default/mbgl/map/map_snapshotter.hpp b/platform/default/mbgl/map/map_snapshotter.hpp
index f40d1e4b77..264f74541d 100644
--- a/platform/default/mbgl/map/map_snapshotter.hpp
+++ b/platform/default/mbgl/map/map_snapshotter.hpp
@@ -52,8 +52,9 @@ public:
LatLngBounds getRegion() const;
using PointForFn = std::function<ScreenCoordinate (const LatLng&)>;
+ using LatLngForFn = std::function<LatLng (const ScreenCoordinate&)>;
using Attributions = std::vector<std::string>;
- using Callback = std::function<void (std::exception_ptr, PremultipliedImage, Attributions, PointForFn)>;
+ using Callback = std::function<void (std::exception_ptr, PremultipliedImage, Attributions, PointForFn, LatLngForFn)>;
void snapshot(ActorRef<Callback>);
private: