Важно

This feature is available in the Full MapKit SDK version

YMKDrivingWeight

class YMKDrivingWeight : NSObject

Quantitative characteristics of any segment of the route.

Summary

Class methods

 init(time: YMKLocalizedValue,
 timeWithTraffic: YMKLocalizedValue,
  distance: YMKLocalizedValue)

Properties

var timeYMKLocalizedValue { get }
Time to travel, not considering traffic

var timeWithTrafficYMKLocalizedValue { get }
Time to travel, considering traffic

var distanceYMKLocalizedValue { get }
Distance to travel

Class methods

init(time:timeWithTraffic:distance:)

 init(time: YMKLocalizedValue,
 timeWithTraffic: YMKLocalizedValue,
  distance: YMKLocalizedValue)


Properties

time

var time: YMKLocalizedValue { get }

Time to travel, not considering traffic.


timeWithTraffic

var timeWithTraffic: YMKLocalizedValue { get }

Time to travel, considering traffic.


distance

var distance: YMKLocalizedValue { get }

Distance to travel.


Предыдущая
Следующая