RouteOptions
extension RouteOptions
extension RouteOptions: NSCopying
-
Returns a tuple containing the waypoints along the leg at the given index and the waypoints that separate subsequent legs.
The first element of the tuple includes the leg’s source but not its destination.
Declaration
Swift
func waypoints(fromLegAt legIndex: Int) -> ([Waypoint], [Waypoint]) -
Returns a copy of RouteOptions without the specified waypoint.
Declaration
Swift
public func without(waypoint: Waypoint) -> RouteOptionsParameters
waypointthe Waypoint to exclude.
Return Value
a copy of self excluding the specified waypoint.
Install in Dash
RouteOptions Extension Reference