ItineraryPoint

constructor(place: Place, heading: Angle? = null, pauseTime: Duration = Duration.ZERO)

Encapsulates Place with the additional information relevant for the route itinerary.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

place
heading

Angle at which this itinerary point should be approached or departed. Counted from north in clockwise direction and in range [0, 360).

pauseTime

Pause time at this itinerary point (including charging time).


constructor(place: Place, heading: Angle? = null, pauseTime: Duration = Duration.ZERO, chargingStationId: ItineraryPointId? = null, waypointType: WaypointType? = null)

Encapsulates Place with the additional information relevant for the route itinerary.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

place
heading

Angle at which this itinerary point should be approached or departed. Counted from north in clockwise direction and in range [0, 360).

pauseTime

Pause time at this itinerary point (including charging time).

chargingStationId

ID of the charging station at this itinerary point. It is a unique ID of the charging station in the source data. If specified, it will be used to look up the corresponding charging station and plan charging at it. Note: This parameter is not supported on Orbis.

waypointType

Type of the waypoint represented by this itinerary point. It identifies whether the waypoint is user-defined or auto-generated. The null value should be used if this itinerary point represents origin or destination.


constructor(id: ItineraryPointId, place: Place, heading: Angle? = null, pauseTime: Duration = Duration.ZERO, chargingStationId: ItineraryPointId? = null, waypointType: WaypointType? = null)

Encapsulates Place with the additional information relevant for the route itinerary.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

id

A user-defined unique identifier of the itinerary point.

place
heading

Angle at which this itinerary point should be approached or departed. Counted from north in clockwise direction and in range [0, 360).

pauseTime

Pause time at this itinerary point (including charging time).

chargingStationId

ID of the charging station at this itinerary point. It is a unique ID of the charging station in the source data. If specified, it will be used to look up the corresponding charging station and plan charging at it. Note: This parameter is not supported on Orbis.

waypointType

Type of the waypoint represented by this itinerary point. It identifies whether the waypoint is user-defined or auto-generated. The null value should be used if this itinerary point represents origin or destination.


constructor(place: Place, heading: Angle? = null)

Parameters

place
heading

Angle at which this itinerary point should be approached or departed. Counted from north in clockwise direction and in range [0, 360).