[core] Extract PaintPropertiesMap

This commit is contained in:
John Firebaugh
2015-10-19 18:30:25 -07:00
parent e257ad284b
commit bb6241844a
20 changed files with 322 additions and 277 deletions

View File

@@ -115,7 +115,6 @@ void AnnotationManager::updateStyle(Style& style) {
std::unique_ptr<SymbolLayer> layer = std::make_unique<SymbolLayer>();
layer->id = PointLayerID;
layer->type = StyleLayerType::Symbol;
layer->styles.emplace(ClassID::Default, ClassProperties());
layer->bucket = std::make_shared<StyleBucket>(layer->type);
layer->bucket->name = layer->id;