Contents

init(_:coordinate:)

Creates a marker at the given location.

Declaration

@MainActor @preconcurrency init(_ titleResource: LocalizedStringResource, coordinate: CLLocationCoordinate2D) where Label == Text

Parameters

  • titleResource:

    The localized string for the title.

  • coordinate:

    The coordinate to display the marker at.