Contents

strokeStyle(style:)

Applies the given stroke style to drawn map overlays.

Declaration

@MainActor @preconcurrency func strokeStyle(style: StrokeStyle) -> some MapContent

Parameters

  • style:

    The stroke style to apply.

Return Value

Returns MapContent with overlays drawn with the StrokeStyle you specified.

See Also

Setting stroke properties