[core] Don't share util::ptr<StyleLayer> across threads

This commit is contained in:
John Firebaugh
2015-11-06 13:27:56 -08:00
parent 96f5ae7cb8
commit bafbf6c04b
11 changed files with 81 additions and 78 deletions

View File

@@ -72,6 +72,7 @@ void ShapeAnnotationImpl::updateStyle(Style& style) {
: ProjectedFeatureType::Polygon;
layer->id = layerID;
layer->ref = "";
layer->source = AnnotationManager::SourceID;
layer->sourceLayer = layer->id;
layer->visibility = VisibilityType::Visible;