RouteOptions
public struct RouteOptions : Hashable
Options to configure Route for search along the route functionality
-
This enum describes how far from the route we can look for results
See moreDeclaration
Swift
public enum Deviation : Hashable
-
Route to search along
Declaration
Swift
public let route: Route
-
Route deviation parameters
Note
See alsoRouteOptions.Deviation
Declaration
Swift
public let deviation: Deviation
-
Construct Route Options with Time route deviation
Declaration
Parameters
route
Route with coordinates
time
Time route deviation in seconds. Must be within 60 seconds (1 minute) and 1_800 seconds (30 minutes)
sarType
Quality of deviation calculation (better cost more). Defaults to
.isochrone