OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
ui.navigation.route_waypoint_request_handler_if.RouteWaypointRequestHandlerIf Class Reference

Plan and edit routes with intermediate locations. More...

Public Member Functions

None request_start_route_with_waypoints (self, GeoPoint destination, Sequence[GeoPoint] waypoints, TravelMode travel_mode)
 Start guidance through ordered intermediate locations.
None request_add_waypoint (self, GeoPoint waypoint)
 Request addition of an intermediate route location.
None request_remove_waypoint (self, int waypoint_index)
 Request removal of a waypoint by its displayed index.

Detailed Description

Plan and edit routes with intermediate locations.

Member Function Documentation

◆ request_add_waypoint()

None ui.navigation.route_waypoint_request_handler_if.RouteWaypointRequestHandlerIf.request_add_waypoint ( self,
GeoPoint waypoint )

Request addition of an intermediate route location.

Parameters
waypointGeographic waypoint to add.

◆ request_remove_waypoint()

None ui.navigation.route_waypoint_request_handler_if.RouteWaypointRequestHandlerIf.request_remove_waypoint ( self,
int waypoint_index )

Request removal of a waypoint by its displayed index.

Parameters
waypoint_indexZero-based waypoint index.

◆ request_start_route_with_waypoints()

None ui.navigation.route_waypoint_request_handler_if.RouteWaypointRequestHandlerIf.request_start_route_with_waypoints ( self,
GeoPoint destination,
Sequence[GeoPoint] waypoints,
TravelMode travel_mode )

Start guidance through ordered intermediate locations.

Parameters
destinationFinal route destination.
waypointsOrdered intermediate route locations.
travel_modeRequested route costing mode.

The documentation for this class was generated from the following file:
  • ui/navigation/route_waypoint_request_handler_if.py