diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-04-23 15:18:47 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-04-28 14:32:25 -0400 |
commit | f8db45f19a1c1845c405f86de0377249cfc6da8e (patch) | |
tree | 41895b4624842fed633fd504ae18bdbb121ba19e /include | |
parent | f0b229730f401972624da3ec2a3b394b7f31d533 (diff) | |
download | qtlocation-mapboxgl-f8db45f19a1c1845c405f86de0377249cfc6da8e.tar.gz |
Move still image callback to MapContext
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/map/map.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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(std::unique_ptr<const StillImage>)>; void renderStill(StillImageCallback callback); |