Range
public struct Range
Boundaries of the areas reachable from an initial vehicle position given one or more budgets, such as a certain amount of energy or fuel.
-
Creates a new
Rangeinstance.Declaration
Swift
public init(origin: CLLocationCoordinate2D, boundaries: [Budget : RangeBoundary])Parameters
originThe point from where the range was calculated. This is always a position on a road and thus might differ from the origin specified in the
RangeCalculationOptions.boundariesA range boundary for each of the budgets specified in the
RangeCalculationOptions.
-
The point from where the range was calculated. This is always a position on a road and thus might differ from the origin specified in the
RangeCalculationOptions.Declaration
Swift
public let origin: CLLocationCoordinate2D -
A range boundary for each of the budgets specified in the
RangeCalculationOptions.Declaration
Swift
public let boundaries: [Budget : RangeBoundary]
TomTom SDK for iOS (0.53.1)
Range