Contents

init(_:coordinate:)

Creates a marker at the given location with the localized string key you provide.

Declaration

@MainActor @preconcurrency init(_ titleKey: LocalizedStringKey, coordinate: CLLocationCoordinate2D) where Label == Text

Parameters

  • titleKey:

    The localized string key to use to lookup the title.

  • coordinate:

    The coordinate used to display the marker.

See Also

Creating a marker