init(_:image:coordinate:)
Creates a marker at the given location with the provided localized title and image resource to display as the balloon’s icon.
Declaration
@MainActor @preconcurrency init(_ titleKey: LocalizedStringKey, image: String, coordinate: CLLocationCoordinate2D) where Label == Label<Text, Image>Parameters
- titleKey:
The localized string key to use to lookup the title.
- image:
The name of the image resource to use as the marker balloon’s glyph.
- coordinate:
The coordinate used to display the marker.