Warning

This feature is available in the Full MapKit SDK version

MMKMasstransitWayPoint

class 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

 init(position: MMKPoint,
 selectedArrivalPoint: MMKPoint?,
 selectedDeparturePoint: MMKPoint?,
       context: String?)

Properties

var positionMMKPoint { get }
Coordinates of the original waypoint from the request

var selectedArrivalPointMMKPoint? { get }
Coordinates of the arrival point that was selected for arrival at the waypoint

var selectedDeparturePointMMKPoint? { get }
Coordinates of the arrival point that was selected for departure from the waypoint

var context: String? { get }
request's context for this point

Optional field, can be nil

Class methods

init(position:selectedArrivalPoint:selectedDeparturePoint:context:)

 init(position: MMKPoint,
 selectedArrivalPoint: MMKPoint?,
 selectedDeparturePoint: MMKPoint?,
       context: String?)


Properties

position

var position: MMKPoint { get }

Coordinates of the original waypoint from the request.


selectedArrivalPoint

var selectedArrivalPoint: MMKPoint? { get }

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

Optional field, can be nil.


selectedDeparturePoint

var selectedDeparturePoint: MMKPoint? { get }

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

Optional field, can be nil.


context

var context: String? { get }

request's context for this point

Optional field, can be nil.