@@ -9,8 +9,10 @@ using namespace style;
|
||||
|
||||
LineAnnotationImpl::LineAnnotationImpl(AnnotationID id_, LineAnnotation annotation_)
|
||||
: ShapeAnnotationImpl(id_),
|
||||
annotation(ShapeAnnotationGeometry::visit(annotation_.geometry, CloseShapeAnnotation{}), annotation_.opacity, annotation_.width, annotation_.color) {
|
||||
}
|
||||
annotation(ShapeAnnotationGeometry::visit(annotation_.geometry, CloseShapeAnnotation{}),
|
||||
annotation_.opacity,
|
||||
annotation_.width,
|
||||
annotation_.color) {}
|
||||
|
||||
void LineAnnotationImpl::updateStyle(Style::Impl& style) const {
|
||||
Layer* layer = style.getLayer(layerID);
|
||||
|
||||
Reference in New Issue
Block a user