TTRouteDelegate

Objective-C

@protocol TTRouteDelegate <NSObject>

Swift

protocol TTRouteDelegate : NSObjectProtocol

TTRouteDelegate

  • Triggered when one of the routes on the map is clicked.

    Declaration

    Objective-C

    - (void)routeClicked:(TTMapRoute *_Nonnull)route;

    Swift

    optional func routeClicked(_ route: TTMapRoute)

    Parameters

    route

    The TTMapRoute object.