Package | Description |
---|---|
com.here.android.mpa.routing |
This package provides classes, interfaces, and enumerations for route calculation and
route description (directions).
|
Modifier and Type | Method and Description |
---|---|
RoutePlan |
RoutePlan.addWaypoint(GeoCoordinate point)
Adds a waypoint to the plan.
|
RoutePlan |
Route.getRoutePlan()
Returns the route plan for defining a route with one or more route legs.
|
RoutePlan |
RoutePlan.insertWaypoint(GeoCoordinate point,
int index)
Inserts a waypoint into a list of existing waypoints.
|
RoutePlan |
RoutePlan.removeAllWaypoints()
Removes all waypoints of the route plan.
|
RoutePlan |
RoutePlan.removeWaypoint(int index)
Removes a waypoint at a specified index.
|
RoutePlan |
RoutePlan.setRouteOptions(RouteOptions options)
Sets the route options.
|
Modifier and Type | Method and Description |
---|---|
RouteManager.Error |
RouteManager.calculateRoute(RoutePlan routePlan,
RouteManager.Listener listener)
Invokes an asynchronous route calculation.
|