SimpleEngineCalcResult
public struct SimpleEngineCalcResult
A result containing the closest distance, last distance along the route, number of loops, and the closest point.
Important
This is a Public Preview API. It may be changed or removed at any time.-
The closest distance to the route.
Declaration
Swift
public let closestDistance: Measurement<UnitLength> -
The last recorded distance along the route.
Declaration
Swift
public let lastDistanceAlongRoute: Double -
The number of loops completed on the route.
Declaration
Swift
public let numberOfLoops: Int -
The closest point on the route.
Declaration
Swift
public let closestPoint: CLLocationCoordinate2D
TomTom SDK for iOS (0.58.0)
SimpleEngineCalcResult