[core] shared data among AnnotationTileFeature objects

This commit is contained in:
Konstantin Käfer
2017-06-20 11:40:56 -07:00
parent 4bfc559223
commit 4ea4715179
5 changed files with 82 additions and 30 deletions

View File

@@ -133,7 +133,7 @@ std::unique_ptr<AnnotationTileData> AnnotationManager::getTileData(const Canonic
auto tileData = std::make_unique<AnnotationTileData>();
AnnotationTileLayer& pointLayer = tileData->layers.emplace(PointLayerID, PointLayerID).first->second;
AnnotationTileLayer& pointLayer = tileData->addLayer(PointLayerID);
LatLngBounds tileBounds(tileID);