RouteTapObserver

public protocol RouteTapObserver : Observer

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

  • 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.