Warning

This feature is available in the Full MapKit SDK version

MMKDrivingWeight

class MMKDrivingWeight : NSObject

Quantitative characteristics of any segment of the route.

Summary

Class methods

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

Properties

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

var timeWithTrafficMMKLocalizedValue { get }
Time to travel, considering traffic

var distanceMMKLocalizedValue { get }
Distance to travel

Class methods

init(time:timeWithTraffic:distance:)

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


Properties

time

var time: MMKLocalizedValue { get }

Time to travel, not considering traffic.


timeWithTraffic

var timeWithTraffic: MMKLocalizedValue { get }

Time to travel, considering traffic.


distance

var distance: MMKLocalizedValue { get }

Distance to travel.