summaryrefslogtreecommitdiff
path: root/src/mbgl/text/cross_tile_symbol_index.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/text/cross_tile_symbol_index.hpp')
-rw-r--r--src/mbgl/text/cross_tile_symbol_index.hpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mbgl/text/cross_tile_symbol_index.hpp b/src/mbgl/text/cross_tile_symbol_index.hpp
index 4e32698b3e..ddcdb814c6 100644
--- a/src/mbgl/text/cross_tile_symbol_index.hpp
+++ b/src/mbgl/text/cross_tile_symbol_index.hpp
@@ -31,13 +31,17 @@ public:
class TileLayerIndex {
public:
- TileLayerIndex(OverscaledTileID coord, std::vector<SymbolInstance>&, uint32_t bucketInstanceId);
+ TileLayerIndex(OverscaledTileID coord,
+ std::vector<SymbolInstance>&,
+ uint32_t bucketInstanceId,
+ std::string bucketLeaderId);
+
+ Point<int64_t> getScaledCoordinates(SymbolInstance&, const OverscaledTileID&) const;
+ void findMatches(SymbolBucket&, const OverscaledTileID&, std::set<uint32_t>&) const;
- Point<int64_t> getScaledCoordinates(SymbolInstance&, const OverscaledTileID&);
- void findMatches(std::vector<SymbolInstance>&, const OverscaledTileID&, std::set<uint32_t>&);
-
OverscaledTileID coord;
uint32_t bucketInstanceId;
+ std::string bucketLeaderId;
std::map<std::u16string,std::vector<IndexedSymbolInstance>> indexedSymbolInstances;
};