Protocols

The following protocols are available globally.

CameraActions

  • A protocol that defines camera actions.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol CameraActions

CopyrightsService

  • CopyrightsServiceProtocol defines a method used to obtain the copyright informations.

    See more

    Declaration

    Swift

    public protocol CopyrightsService

LocationActions

  • Type to control location features.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol LocationActions
  • MapActions defines a set of methods closely connected to the map.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol MapActions

AnnotationOptions

  • Base protocol for AnnotationOptions

    Declaration

    Swift

    public protocol AnnotationOptions

Annotation

  • Base protocol for any Annotation: polygon, line, circle, marker etc.

    See more

    Declaration

    Swift

    public protocol Annotation

AnnotationsActions

  • A protocol that defines map annotation actions.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol AnnotationsActions

RenderedFeatureActions

  • Rendered Feature Actions protocol.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol RenderedFeatureActions

RouteDelegate

  • RouteDelegate.

    See more

    Declaration

    Swift

    public protocol RouteDelegate : AnyObject
  • Protocol allowing management of the route representation on the map.

    See more

    Declaration

    Swift

    public protocol RouteActions
  • Protocol that defines method that will be performed when user clicked on traffic incidents icon.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol OnTrafficIncidentObservable : Observer
  • Defines available actions according to vehicle restriction feature.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol VehicleActions

MapRendererFrameCaptureDelegate

  • MapMetalRendererFrameCaptureDelegate exposes possibility to get currently drawn frame as a texture. Using this delegate may have impact of performance rendering.

    See more

    Declaration

    Swift

    public protocol MapRendererFrameCaptureDelegate : AnyObject

MapViewDelegate

  • Set delegate property to receive updates you when MapView is ready to be used.

    See more

    Declaration

    Swift

    public protocol MapViewDelegate : AnyObject

MapDisplayDataProvider

  • The MapDisplayDataProvider protocol that can be used to add custom data providers. FileOutput - Default logger output - prints logs using Swift.print

    Important

    This API has to be implemented in a thread-safe way.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol MapDisplayDataProvider
  • A cancellable task of a data provider which gathers the resource.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol MapDisplayDataRequestToken
  • TomTomMap tile provider interface for map display.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol MapTileDataProviding

MapDelegate

  • Methods for managing map interactions and events.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol MapDelegate : AnyObject

MapDataSource

  • The methods that an object adopts to manage callout views for a MapView.

    See more

    Declaration

    Swift

    public protocol MapDataSource : AnyObject