Range
public struct Range
Range contains reachability boundaries for one or more budgets, calculated around an origin point.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates a new
Rangeinstance with the given parameters.Declaration
Swift
public init(origin: CLLocationCoordinate2D, boundaries: [Budget : RangeBoundary])Parameters
originCenter location for the reachable range calculation (map-matching of the origin point).
boundariesA mapping of initial budget to range boundaries.
-
Center location for the reachable range calculation (map-matching of the origin point).
Declaration
Swift
public let origin: CLLocationCoordinate2D -
A mapping of initial budget to range boundaries.
Declaration
Swift
public let boundaries: [Budget : RangeBoundary]
Range Structure Reference