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