Contents

init(_:systemImage:coordinate:)

Creates a marker at the given location with the provided title and a system image the map displays as the balloon’s icon.

Declaration

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

Parameters

  • title:

    The title of the marker.

  • systemImage:

    The name of the system image or SF Symbol to use as the marker balloon’s glyph.

  • coordinate:

    The coordinate used to display the marker.

See Also

Creating a marker