summaryrefslogtreecommitdiff
path: root/platform/default/mbgl/map/map_snapshotter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/default/mbgl/map/map_snapshotter.hpp')
-rw-r--r--platform/default/mbgl/map/map_snapshotter.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/default/mbgl/map/map_snapshotter.hpp b/platform/default/mbgl/map/map_snapshotter.hpp
index 2450fa7612..b3cfb3058f 100644
--- a/platform/default/mbgl/map/map_snapshotter.hpp
+++ b/platform/default/mbgl/map/map_snapshotter.hpp
@@ -3,6 +3,7 @@
#include <mbgl/util/image.hpp>
#include <mbgl/util/thread.hpp>
#include <mbgl/util/optional.hpp>
+#include <mbgl/util/geo.hpp>
#include <exception>
#include <memory>
@@ -46,7 +47,8 @@ public:
void setRegion(const LatLngBounds&);
LatLngBounds getRegion() const;
- using Callback = std::function<void (std::exception_ptr, PremultipliedImage)>;
+ using PointForFn = std::function<ScreenCoordinate (const LatLng&)>;
+ using Callback = std::function<void (std::exception_ptr, PremultipliedImage, PointForFn)>;
void snapshot(ActorRef<Callback>);
private: