Protocols
The following protocols are available globally.
-
Protocol requirements for all annotation objects.
See moreDeclaration
Swift
public protocol MTAnnotation : Sendable -
Protocol requirement for all Logger objects.
See moreDeclaration
Swift
public protocol MTLoggable : Sendable -
Protocol requirements for location manager.
See moreDeclaration
Swift
@MainActor public protocol MTLocationManagerDelegate : AnyObject -
Defines methods for adding the map controls.
See moreDeclaration
Swift
@MainActor public protocol MTControllable -
Defines methods for navigating the map.
See moreDeclaration
Swift
@MainActor public protocol MTNavigable -
Defines methods for map styling methods.
See moreDeclaration
Swift
@MainActor public protocol MTStylable -
Defines methods for manipulating zoom level.
See moreDeclaration
Swift
@MainActor public protocol MTZoomable -
Defines gestures behaviour.
See moreDeclaration
Swift
@MainActor public protocol MTGesture -
Map view content requirements.
See moreDeclaration
Swift
public protocol MTMapViewContent -
Delegate responsible for map event propagation
See moreDeclaration
Swift
@MainActor public protocol MTMapViewDelegate : AnyObject -
Protocol requirements for all types of Layers.
See moreDeclaration
Swift
public protocol MTLayer : AnyObject, MTMapViewContent, Sendable -
Protocol requirements for all types of Sources.
See moreDeclaration
Swift
public protocol MTSource : AnyObject, MTMapViewContent, Sendable