Contents

stroke(_:style:)

Applies the given shape style to drawn map overlays using the stroke style you specify.

Declaration

@MainActor @preconcurrency func stroke(_ content: some ShapeStyle, style: StrokeStyle) -> some MapContent

Parameters

  • content:

    The shape style to apply.

  • style:

    The stroke style to apply.

See Also

Setting stroke properties