summaryrefslogtreecommitdiff
path: root/src/mbgl/map/map_impl.hpp
diff options
context:
space:
mode:
authorAnsis Brammanis <ansis.brammanis@gmail.com>2019-04-02 12:57:45 -0400
committerFabian Guerra Soto <fabian.guerra@mapbox.com>2019-04-02 15:21:14 -0700
commitc600a688ca12ee6aceac73723ba56921009c23aa (patch)
treed0ab0477f606d77d6142f5b927e852b65b773bcc /src/mbgl/map/map_impl.hpp
parentec3f115d19d7b2775c69121bd8f040d90fd19083 (diff)
downloadqtlocation-mapboxgl-c600a688ca12ee6aceac73723ba56921009c23aa.tar.gz
[core] add onStyleImageMissing to allow dynamically loaded or generated images (#14253)
Also make `Style#updateImage(...)` much faster when the image doesn't change size. This can be useful for asynchronously generating images.
Diffstat (limited to 'src/mbgl/map/map_impl.hpp')
-rw-r--r--src/mbgl/map/map_impl.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/map/map_impl.hpp b/src/mbgl/map/map_impl.hpp
index 32dc728b70..269a1873c0 100644
--- a/src/mbgl/map/map_impl.hpp
+++ b/src/mbgl/map/map_impl.hpp
@@ -56,6 +56,7 @@ public:
void onDidFinishRenderingFrame(RenderMode, bool) final;
void onWillStartRenderingMap() final;
void onDidFinishRenderingMap() final;
+ void onStyleImageMissing(const std::string&, std::function<void()>) final;
Map& map;
MapObserver& observer;