Class YMKMasstransitWayPoint

A waypoint is the origin, destination or intermediate destination on the route.

For each waypoint, the corresponding selected arrival point can be stored.

Class Methods

Properties

position

Coordinates of the original waypoint from the request.

selectedArrivalPoint

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

selectedDeparturePoint

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

Method Detail

+wayPointWithPosition:selectedArrivalPoint:selectedDeparturePoint:

+ (nonnull YMKMasstransitWayPoint *)wayPointWithPosition:(nonnull YMKPoint *)position
                                    selectedArrivalPoint:(nullable YMKPoint *)selectedArrivalPoint
                                  selectedDeparturePoint:(nullable YMKPoint *)selectedDeparturePoint 

Property Detail

position

(assign, readonly) YMKPoint * position

Coordinates of the original waypoint from the request.

selectedArrivalPoint

(assign, readonly) YMKPoint * selectedArrivalPoint

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

Optional property, can be null.

selectedDeparturePoint

(assign, readonly) YMKPoint * selectedDeparturePoint

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

Optional property, can be null.