[core] Don't share util::ptr<StyleLayer> across threads
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user