diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-11-06 13:27:56 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-12-01 11:16:57 -0800 |
commit | bafbf6c04b1bfd5da84411f52a72e26783f3bcb7 (patch) | |
tree | bed0d33eb2c7be56aee11c33a8a7c20ba10e5a6a /src/mbgl/annotation | |
parent | 96f5ae7cb886a3312d1718133e25e0e9b565179d (diff) | |
download | qtlocation-mapboxgl-bafbf6c04b1bfd5da84411f52a72e26783f3bcb7.tar.gz |
[core] Don't share util::ptr<StyleLayer> across threads
Diffstat (limited to 'src/mbgl/annotation')
-rw-r--r-- | src/mbgl/annotation/shape_annotation_impl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/annotation/shape_annotation_impl.cpp b/src/mbgl/annotation/shape_annotation_impl.cpp index 4b60c667aa..62b55908f9 100644 --- a/src/mbgl/annotation/shape_annotation_impl.cpp +++ b/src/mbgl/annotation/shape_annotation_impl.cpp @@ -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; |