Contents

init(scope:)

Creates a new user location button with the scope you specify.

Declaration

@MainActor @preconcurrency init(scope: Namespace.ID? = nil)

Parameters

  • scope:

    A Id value that identifies this namespace and that you use to associate the user location indicator with a map instance.