Contents

init(anchor:)

Creates an annotation that displays the person’s current location using the system styled user location indicator with the specified anchor point.

Declaration

@MainActor @preconcurrency init(anchor: UnitPoint = .center) where Content == EmptyView

Parameters

  • anchor:

    How to anchor the user location indicator around the user’s location. The default is Center.

See Also

Creating a user annotation