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 == EmptyViewParameters
- anchor:
How to anchor the user location indicator around the user’s location. The default is Center.