TTRouteDelegate

Objective-C

@protocol TTRouteDelegate <NSObject>

Swift

protocol TTRouteDelegate : NSObjectProtocol

TTRouteDelegate

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

    Declaration

    Objective-C

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

    Swift

    optional func routeClicked(_ route: TTMapRoute)

    Parameters

    route

    route TTMapRoute