Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Sources/MapLibreSwiftDSL/Style Layers/Line.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import MapLibreSwiftMacros

// TODO: Other properties and their modifiers
@MLNStyleProperty<UIColor>("lineColor", supportsInterpolation: true)
@MLNStyleProperty<Float>("lineOpacity", supportsInterpolation: true)
@MLNRawRepresentableStyleProperty<LineCap>("lineCap")
@MLNRawRepresentableStyleProperty<LineJoin>("lineJoin")
@MLNStyleProperty<[Float]>("lineDashPattern")
Expand Down Expand Up @@ -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
Expand Down
Loading