RadarRouteMatrix

Objective-C

@interface RadarRouteMatrix : NSObject

Swift

class RadarRouteMatrix : NSObject

Represents routes between multiple origins and destinations.

  • Returns the route between the specified origin and destination.

    Declaration

    Objective-C

    - (RadarRoute *_Nullable)routeBetweenOriginIndex:(NSUInteger)originIndex
                                    destinationIndex:(NSUInteger)destinationIndex;

    Swift

    func routeBetween(originIndex: UInt, destinationIndex: UInt) -> RadarRoute?

    Parameters

    originIndex

    The index of the origin.

    destinationIndex

    The index of the destination.

    Return Value

    The route between the specified origin and destination.