Warning

This feature is available in the Full MapKit SDK version

MMKMasstransitWayPoint

@interface MMKMasstransitWayPoint : NSObject

A waypoint is the origin, destination or intermediate destination on the route. For each waypoint, the corresponding selected arrival point can be stored.

Summary

Class methods

+ (nonnull MMKMasstransitWayPoint *)wayPointWithPosition:(nonnull MMKPoint *)position
                                    selectedArrivalPoint:(nullable MMKPoint *)selectedArrivalPoint
                                  selectedDeparturePoint:(nullable MMKPoint *)selectedDeparturePoint
                                                 context:(nullable NSString *)context;

Properties

@property (nonatomic, readonly, nonnull) MMKPoint *position;
Coordinates of the original waypoint from the request

@property (nonatomic, readonly, nullable) MMKPoint *selectedArrivalPoint;
Coordinates of the arrival point that was selected for arrival at the waypoint

@property (nonatomic, readonly, nullable) MMKPoint *selectedDeparturePoint;
Coordinates of the arrival point that was selected for departure from the waypoint

@property (nonatomic, readonly, nullable) NSString *context;
request's context for this point

Optional field, can be nil

Class methods

wayPointWithPosition:selectedArrivalPoint:selectedDeparturePoint:context:

+ (nonnull MMKMasstransitWayPoint *)wayPointWithPosition:(nonnull MMKPoint *)position
                                    selectedArrivalPoint:(nullable MMKPoint *)selectedArrivalPoint
                                  selectedDeparturePoint:(nullable MMKPoint *)selectedDeparturePoint
                                                 context:(nullable NSString *)context;


Properties

position

@property (nonatomic, readonly, nonnull) MMKPoint *position;

Coordinates of the original waypoint from the request.


selectedArrivalPoint

@property (nonatomic, readonly, nullable) MMKPoint *selectedArrivalPoint;

Coordinates of the arrival point that was selected for arrival at the waypoint.

Optional field, can be nil.


selectedDeparturePoint

@property (nonatomic, readonly, nullable) MMKPoint *selectedDeparturePoint;

Coordinates of the arrival point that was selected for departure from the waypoint.

Optional field, can be nil.


context

@property (nonatomic, readonly, nullable) NSString *context;

request's context for this point

Optional field, can be nil.