From f8db45f19a1c1845c405f86de0377249cfc6da8e Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 23 Apr 2015 15:18:47 -0700 Subject: Move still image callback to MapContext --- include/mbgl/map/map.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index afa8567205..29e178ec52 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -46,6 +46,8 @@ public: // Resumes a paused render thread void resume(); + // Register a callback that will get called (on the render thread) when all resources have + // been loaded and a complete render occurs. using StillImageCallback = std::function)>; void renderStill(StillImageCallback callback); -- cgit v1.2.1