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