Contents

stroke(lineWidth:)

Applies the given stoke drawn map overlays using the line width you specify.

Declaration

@MainActor @preconcurrency func stroke(lineWidth: CGFloat = 1) -> some MapContent

Parameters

  • lineWidth:

    The line width to draw the stroke with.

Return Value

Returns MapContent with overlays drawn with lineWidth you specified.

See Also

Setting stroke properties