Warning
This feature is available in the Full MapKit SDK version
MMKMasstransitWeight
@interface MMKMasstransitWeight : NSObject |
Numeric characteristics of a route or a route section.
Summary
Class methods
+ (nonnull MMKMasstransitWeight *)weightWithTime:(nonnull MMKLocalizedValue *)time |
Properties
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *time; |
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *walkingDistance; |
@property (nonatomic, readonly) NSUInteger transfersCount; |
Class methods
weightWithTime:walkingDistance:transfersCount:
+ (nonnull MMKMasstransitWeight *)weightWithTime:(nonnull MMKLocalizedValue *)time |
Properties
time
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *time; |
Travel time for a route or a route section.
walkingDistance
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *walkingDistance; |
Distance of the pedestrian part of the route or a route section.
transfersCount
@property (nonatomic, readonly) NSUInteger transfersCount; |
The number of transfers for a route or a route section.