diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-10-29 14:26:34 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-10-30 11:17:01 -0700 |
commit | 8c3b3cb792d0157aee4918c4ece822ec0fcfb381 (patch) | |
tree | b0c684f517005dee5f8d48d64b85ddb31e7cddad /src/mbgl/util/worker.hpp | |
parent | 7669e02062ccab9e3d908a9eab04f5d13a7b89c0 (diff) | |
download | qtlocation-mapboxgl-8c3b3cb792d0157aee4918c4ece822ec0fcfb381.tar.gz |
[core] Use current copy of style layers when reparsing tiles
This fixes adding shape annotations after VectorTileData objects have
been created for annotations already, and will also be necessary for
the dynamic Style API.
Diffstat (limited to 'src/mbgl/util/worker.hpp')
-rw-r--r-- | src/mbgl/util/worker.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/util/worker.hpp b/src/mbgl/util/worker.hpp index e7bd3daada..f0f291e24c 100644 --- a/src/mbgl/util/worker.hpp +++ b/src/mbgl/util/worker.hpp @@ -40,6 +40,7 @@ public: std::function<void(RasterTileParseResult)> callback); Request parseGeometryTile(TileWorker&, + std::vector<util::ptr<StyleLayer>>, std::unique_ptr<GeometryTile>, PlacementConfig, std::function<void(TileParseResult)> callback); @@ -48,6 +49,7 @@ public: std::function<void(TileParseResult)> callback); Request redoPlacement(TileWorker&, + std::vector<util::ptr<StyleLayer>>, const std::unordered_map<std::string, std::unique_ptr<Bucket>>&, PlacementConfig config, std::function<void()> callback); |