Protocols

The following protocols are available globally.

  • Protocol requirements for all annotation objects.

    See more

    Declaration

    Swift

    public protocol MTAnnotation : Sendable
  • Protocol requirement for all Logger objects.

    See more

    Declaration

    Swift

    public protocol MTLoggable : Sendable
  • Protocol requirements for location manager.

    See more

    Declaration

    Swift

    @MainActor
    public protocol MTLocationManagerDelegate : AnyObject
  • Defines methods for adding the map controls.

    See more

    Declaration

    Swift

    @MainActor
    public protocol MTControllable
  • Defines methods for navigating the map.

    See more

    Declaration

    Swift

    @MainActor
    public protocol MTNavigable
  • Defines methods for map styling methods.

    See more

    Declaration

    Swift

    @MainActor
    public protocol MTStylable
  • Defines methods for manipulating zoom level.

    See more

    Declaration

    Swift

    @MainActor
    public protocol MTZoomable
  • Defines gestures behaviour.

    See more

    Declaration

    Swift

    @MainActor
    public protocol MTGesture
  • Map view content requirements.

    See more

    Declaration

    Swift

    public protocol MTMapViewContent
  • Delegate responsible for map event propagation

    See more

    Declaration

    Swift

    @MainActor
    public protocol MTMapViewDelegate : AnyObject
  • Protocol requirements for all types of Layers.

    See more

    Declaration

    Swift

    public protocol MTLayer : AnyObject, MTMapViewContent, Sendable
  • Protocol requirements for all types of Sources.

    See more

    Declaration

    Swift

    public protocol MTSource : AnyObject, MTMapViewContent, Sendable
  • Protocol requirements for all tile type sources.

    See more

    Declaration

    Swift

    public protocol MTTileSource : MTSource