init(scope:)
Creates a new map compass with the scope you specify.
Declaration
@MainActor @preconcurrency init(scope: Namespace.ID? = nil)Parameters
- scope:
A Id value that identifies a namespace and that you use to associate this control with a map instance.