RouteDelegate

public protocol RouteDelegate : AnyObject

RouteDelegate.

  • Route delegate method providing information about user interactions on a route.

    Declaration

    Swift

    func mapRoute(_ route: Route, didTapOnCoordinate coordinate: CLLocationCoordinate2D, waypointIndex: Int)

    Parameters

    route

    Protocol specifying the Route object.

    coordinate

    A structure that contains a geographical coordinate.

    waypointIndex

    index of waypoints.