diff --git a/Sources/MapLibreSwiftDSL/Style Layers/Line.swift b/Sources/MapLibreSwiftDSL/Style Layers/Line.swift index dd30625..86f0a4f 100644 --- a/Sources/MapLibreSwiftDSL/Style Layers/Line.swift +++ b/Sources/MapLibreSwiftDSL/Style Layers/Line.swift @@ -5,6 +5,7 @@ import MapLibreSwiftMacros // TODO: Other properties and their modifiers @MLNStyleProperty("lineColor", supportsInterpolation: true) +@MLNStyleProperty("lineOpacity", supportsInterpolation: true) @MLNRawRepresentableStyleProperty("lineCap") @MLNRawRepresentableStyleProperty("lineJoin") @MLNStyleProperty<[Float]>("lineDashPattern") @@ -73,6 +74,7 @@ private struct LineStyleLayerInternal: StyleLayer { let result = MLNLineStyleLayer(identifier: identifier, source: mglSource) result.lineColor = definition.lineColor + result.lineOpacity = definition.lineOpacity result.lineCap = definition.lineCap result.lineWidth = definition.lineWidth result.lineJoin = definition.lineJoin