init(scope:)
Creates a new map location compass with the provided scope.
Declaration
@MainActor @preconcurrency init(scope: Namespace.ID? = nil)Parameters
- scope:
The namespace the framework passes to the associated Map and Mapscope(_:). For use outside of Mapcontrols(_:).