Contents

init(_:image:coordinate:)

Creates a marker at the given location with the provided title and image resource to display as the balloon’s icon.

Declaration

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

Parameters

  • title:

    The title of the marker.

  • image:

    The name of the image resource to use as the marker balloon’s glyph.

  • coordinate:

    The coordinate used to display the marker.

See Also

Creating a marker