MTSource

public protocol MTSource : AnyObject, MTMapViewContent, Sendable

Protocol requirements for all types of Sources.

  • Unique id of the source.

    Declaration

    Swift

    var identifier: String { get set }
  • url

    URL pointing to the source resource.

    Declaration

    Swift

    var url: URL? { get set }
  • Type of the source.

    Declaration

    Swift

    var type: MTSourceType { get }