Contents

init(_:coordinate:)

Creates a marker at the given location with the label you provide.

Declaration

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

Parameters

  • title:

    The label for the marker.

  • coordinate:

    The coordinate used to display the marker.

See Also

Creating a marker