Protocols
The following protocols are available globally.
-
Observer of Application UI Instance state UI Instance is represented by
UIScene(there could be multipleUISceneinstances per iOS application) orUIApplication(there is a single instance ofUIApplicationclass per iOS application).See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol AppUIInstanceStateObservable : Observer
-
Monitors the iOS application lifecycle and notifies observers on state changes.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol ApplicationLifecycleMonitoring
-
A protocol that defines camera actions.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol CameraActions : AnyObject
-
CopyrightsServiceProtocol defines a method used to obtain the copyright informations.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol CopyrightsService
-
Type to control location features.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol LocationActions : AnyObject -
MapActionsdefines a set of methods closely connected to the map.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol MapActions : AnyObject
-
The
Layerprotocol that represents map layer.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol Layer : AnyObject
-
The
Styleprotocol that represents the map style.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol Style : AnyObject
-
Base protocol for
AnnotationOptionsImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol AnnotationOptions
-
Base protocol for any
Annotation: polygon, line, circle, marker etc.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol Annotation : AnyObject
-
Protocol that represents the requirements of a circle
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol Circle : Annotation
-
The Line.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol Line : Annotation
-
A polygon overlay can be built by setting the outer area color and adding inner polygons. Only one inner polygon is supported, but the inner polygons can be nested. Example:
let innerOptions = InnerPolygonOptions(fillColor: .red coordinates: coordinates) innerOptions.nestedPolygonOptions = InnerPolygonOptions( fillColor: UIColor.blue, coordinates: coordinates ) let polygonOptions = PolygonOverlayOptions(outerColor: .green, innerPolygonOptions: innerOptions) try? mapView.map.addPolygonOverlay(options: polygonOptions)}
See moreDeclaration
Swift
public protocol PolygonOverlay : Annotation
-
Protocol that defines requirements for a marker.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol Marker : Annotation
-
Protocol that represents the requirements of a polygon.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol Polygon : Annotation -
A protocol that defines map annotation actions.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol AnnotationsActions : AnyObject -
Rendered Feature Actions protocol.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol RenderedFeatureActions
-
RouteDelegate.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol RouteDelegate : AnyObject
-
Protocol specifying the
See moreRouteobject.Declaration
Swift
public protocol Route : AnyObject -
Protocol allowing management of the route representation on the map.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol RouteActions -
Protocol that defines method that will be performed when user clicked on traffic incidents icon.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol OnTrafficIncidentObservable : Observer
-
MapMetalRendererFrameCaptureDelegateexposes possibility to get currently drawn frame as a texture. Using this delegate may have impact of performance rendering.Declaration
Swift
public protocol MapRendererFrameCaptureDelegate : AnyObject
-
The MapViewDelegate informs when map is ready.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol MapViewDelegate : AnyObject
-
The methods that an object adopts to manage callout views for a MapView.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol MapDataSource : AnyObject
-
A protocol that provides actions delegate from Map allowing you to interact with the map.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol MapDelegate : AnyObject
-
Protocol that aggregates core functionalities of the map.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol Map: CameraActions, AnnotationsActions, RouteActions, LocationActions, MapActions, RenderedFeatureActions, DiagnosticActions
Protocols Reference