addItineraryPoint

Adds the given itineraryPoint to the Itinerary. It is added as the last waypoint in the Itinerary.waypoints list.

Note: This operation removes RoutePlanningOptions.routeLegOptions if route is EV. If not, RouteLegOptions is added to the end of the list, without RouteLegOptions.supportingPoints, and with a RouteLegOptions.routeType matching the last 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 added to the Itinerary.

Parameters

itineraryPoint

Throws


Adds the given itineraryPoint to the Itinerary.

If itineraryPointBefore is:

Note: This operation removes RoutePlanningOptions.routeLegOptions if route is EV. If not, RouteLegOptions is added after the leg that corresponds to itineraryPointBefore, without RouteLegOptions.supportingPoints, and with a RouteLegOptions.routeType matching the last 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 added to the Itinerary.

Parameters

itineraryPoint
itineraryPointBefore

Throws