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
MapLocationCompass/mapScope(_:). For use outside ofMapLocationCompass/mapControls(_:).