removeItineraryPoint

Removes the given itineraryPoint from the Itinerary.

Note: This operation removes RoutePlanningOptions.routeLegOptions if route is EV. If not, the two RouteLegOptions around the routeStop merge into one, without RouteLegOptions.supportingPoints, and with a RouteLegOptions.routeType matching the RouteLegOptions following the routeStop.

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