Warning
This feature is available in the Full MapKit SDK version
YMKMasstransitRoute
@interface YMKMasstransitRoute : NSObject |
Contains information about a route constructed by the mass transit router.
Summary
Instance methods
- (double) |
Properties
@property (nonatomic, readonly, nonnull) YMKMasstransitRouteMetadata *metadata; |
@property (nonatomic, readonly, nonnull) |
@property (nonatomic, readonly, nonnull) |
@property (nonatomic, readonly, nonnull) YMKPolyline *geometry; |
@property (nonatomic, readonly, nonnull) YMKUriObjectMetadata *uriMetadata; |
Instance methods
distanceBetweenPolylinePositionsWithFrom:to:
- (double) |
Return distance between two polyline positions.
Properties
metadata
@property (nonatomic, readonly, nonnull) YMKMasstransitRouteMetadata *metadata; |
General route information.
wayPoints
@property (nonatomic, readonly, nonnull) |
List of route waypoints. See YMKMasstransitWayPoint for details
sections
@property (nonatomic, readonly, nonnull) |
Vector of sections of the route.
geometry
@property (nonatomic, readonly, nonnull) YMKPolyline *geometry; |
Polyline of the entire route.
uriMetadata
@property (nonatomic, readonly, nonnull) YMKUriObjectMetadata *uriMetadata; |
Route URI, which can be used with YMKMasstransitRouter to fetch additional information about the route or can be bookmarked for future reference.