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) -> RouteOptions
Parameters
waypoint
the Waypoint to exclude.
Return Value
a copy of self excluding the specified waypoint.