Warning
This feature is available in the Full MapKit SDK version
MMKDrivingWeight
@interface MMKDrivingWeight : NSObject |
Quantitative characteristics of any segment of the route.
Summary
Class methods
+ (nonnull MMKDrivingWeight *)weightWithTime:(nonnull MMKLocalizedValue *)time |
Properties
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *time; |
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *timeWithTraffic; |
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *distance; |
Class methods
weightWithTime:timeWithTraffic:distance:
+ (nonnull MMKDrivingWeight *)weightWithTime:(nonnull MMKLocalizedValue *)time |
Properties
time
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *time; |
Time to travel, not considering traffic.
timeWithTraffic
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *timeWithTraffic; |
Time to travel, considering traffic.
distance
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *distance; |
Distance to travel.