RouteTapObserver

public protocol RouteTapObserver : Observer

Used to inform the caller that a route has been tapped.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Called when a route is tapped.

    Declaration

    Swift

    func didTapOnRoute(routingRoute: TomTomSDKRoute.Route, mapDisplayRoute: TomTomSDKMapDisplay.Route)

    Parameters

    routingRoute

    The TomTomSDKRoute/Route corresponding the route primitive tapped.

    mapDisplayRoute

    The TomTomSDKMapDisplay/Route primitive that was tapped on the map.