Contents

init(_:systemImage:coordinate:)

Creates a marker at the given location with a system image displayed as the balloon’s icon.

Declaration

@MainActor @preconcurrency init(_ titleResource: LocalizedStringResource, systemImage: String, coordinate: CLLocationCoordinate2D) where Label == Label<Text, Image>

Parameters

  • titleResource:

    The localized string for the title.

  • systemImage:

    The system image to use as the marker balloon’s glyph.

  • coordinate:

    The coordinate to display the marker at.