removeItineraryPoint
Removes the given itineraryPoint from the Itinerary.
Note: This operation removes RoutePlanningOptions.routeLegOptions.
Important: This is a Public Preview API. It may be changed or removed at any time.
Return
Copy of target RoutePlanningOptions with the provided itineraryPoint removed from the Itinerary.
Parameters
itineraryPoint
ItineraryPoint to remove.
Throws
if Itinerary.waypoints is empty.