@interface SPDirectionsRequest : NSObject
Object that is passed to SPDirectionsManager for fetching directions between GPS points.
Recommended constructor for SPDirectionsRequest objects.
- (nonnull instancetype)initWithLocation:(nonnull SPLocation *)startLocation destinations: (nonnull NSArray<SPLocation *> *)endLocations;
starting location for directions
list of one or more destinations to find directions
new instance of SPDirectionsRequest