diff options
author | Ansis Brammanis <ansis@mapbox.com> | 2019-04-01 18:55:30 -0400 |
---|---|---|
committer | Ansis Brammanis <ansis@mapbox.com> | 2019-04-01 22:24:16 -0400 |
commit | 6089031ce340816dadbb99c9eb22d2dd5c2a68a0 (patch) | |
tree | c9bb5b1797e7a933e7d4a34a9da0d1e19cb1b27c /src/mbgl/map/map_impl.hpp | |
parent | a1a0c5f86c0c7cd768e081251145b5261b6be3b3 (diff) | |
download | qtlocation-mapboxgl-6089031ce340816dadbb99c9eb22d2dd5c2a68a0.tar.gz |
icon update improvements
- only reparse tiles when the size of the updated icon is different
- make updates for same-sized icons much faster
- fix crashes
Diffstat (limited to 'src/mbgl/map/map_impl.hpp')
-rw-r--r-- | src/mbgl/map/map_impl.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/map/map_impl.hpp b/src/mbgl/map/map_impl.hpp index 0e0b47e8a9..c44988354d 100644 --- a/src/mbgl/map/map_impl.hpp +++ b/src/mbgl/map/map_impl.hpp @@ -47,7 +47,7 @@ public: void onDidFinishRenderingFrame(RenderMode, bool) final; void onWillStartRenderingMap() final; void onDidFinishRenderingMap() final; - void onStyleImageMissing(const std::string&, std::function<void()>) final; + void onStyleImageMissing(const std::string&, RendererObserver::StyleImageMissingCallback) final; // Map void jumpTo(const CameraOptions&); |