diff options
author | Kevin Li <kevin.li@mapbox.com> | 2020-04-10 18:13:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 18:13:57 +0800 |
commit | be9ca95e9ab3be296177bf6ec0f1b05f7ade8749 (patch) | |
tree | d19986ac02a734a4f97d072d6b6ecdc462265e74 /platform/default | |
parent | 209857f8acc73d7950a1c8ec58f4ec7622287e55 (diff) | |
download | qtlocation-mapboxgl-be9ca95e9ab3be296177bf6ec0f1b05f7ade8749.tar.gz |
[android] Fix onStyleImageMissing callback in Snapshotter not fired issue. (#16386)
Diffstat (limited to 'platform/default')
-rw-r--r-- | platform/default/src/mbgl/map/map_snapshotter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/default/src/mbgl/map/map_snapshotter.cpp b/platform/default/src/mbgl/map/map_snapshotter.cpp index e34f739359..2b60095d7c 100644 --- a/platform/default/src/mbgl/map/map_snapshotter.cpp +++ b/platform/default/src/mbgl/map/map_snapshotter.cpp @@ -76,6 +76,10 @@ public: rendererObserver->onDidFinishRenderingFrame(mode, repaintNeeded, placementChanged); } + void onStyleImageMissing(const std::string& id, StyleImageMissingCallback done) override { + rendererObserver->onStyleImageMissing(id, done); + } + void setObserver(std::shared_ptr<RendererObserver> observer) { assert(observer); rendererObserver = std::move(observer); |