Contents

init(_:monogram:coordinate:)

Creates a marker at the given location with the provided title key and monogram.

Declaration

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

Parameters

  • titleKey:

    The localized string key to use to lookup the title.

  • monogram:

    A Text view that contains up to three characters to display on the marker’s balloon.

  • coordinate:

    The coordinate used to display the marker.

See Also

Creating a marker