diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-10-26 10:14:24 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-11-10 11:33:17 -0800 |
commit | a5625675890213f94de7632d4ef152ade627c9a5 (patch) | |
tree | d6a3f816e80417bbedc16d0b34383d8ee191bf92 /src/mbgl/annotation/shape_annotation_impl.cpp | |
parent | 728a9858ea88751e74de57694746c2ea1546ce25 (diff) | |
download | qtlocation-mapboxgl-a5625675890213f94de7632d4ef152ade627c9a5.tar.gz |
[core] Eliminate use of ClassProperties for layout
Diffstat (limited to 'src/mbgl/annotation/shape_annotation_impl.cpp')
-rw-r--r-- | src/mbgl/annotation/shape_annotation_impl.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mbgl/annotation/shape_annotation_impl.cpp b/src/mbgl/annotation/shape_annotation_impl.cpp index 5d5f4e859b..bb6642c600 100644 --- a/src/mbgl/annotation/shape_annotation_impl.cpp +++ b/src/mbgl/annotation/shape_annotation_impl.cpp @@ -31,8 +31,7 @@ void ShapeAnnotationImpl::updateStyle(Style& style) { std::unique_ptr<LineLayer> layer = std::make_unique<LineLayer>(); layer->type = StyleLayerType::Line; - - layer->layout.set(PropertyKey::LineJoin, Function<JoinType>(JoinType::Round)); + layer->layout.join = JoinType::Round; const LinePaintProperties& properties = shape.properties.get<LinePaintProperties>(); ClassProperties paintProperties; |