Важно

This feature is available in the Full MapKit SDK version

YMKMasstransitWayPoint

class YMKMasstransitWayPoint : 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: YMKPoint,
 selectedArrivalPoint: YMKPoint?,
 selectedDeparturePoint: YMKPoint?,
       context: String?)

Properties

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

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

var selectedDeparturePointYMKPoint? { 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: YMKPoint,
 selectedArrivalPoint: YMKPoint?,
 selectedDeparturePoint: YMKPoint?,
       context: String?)


Properties

position

var position: YMKPoint { get }

Coordinates of the original waypoint from the request.


selectedArrivalPoint

var selectedArrivalPoint: YMKPoint? { get }

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

Optional field, can be nil.


selectedDeparturePoint

var selectedDeparturePoint: YMKPoint? { 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.


Предыдущая
Следующая