Modifier and Type | Method | Description |
---|---|---|
static List<Router.NavigationDirection> |
Router.routeDirections(GraphDB g,
List<Long> route) |
Create the list of directions corresponding to a route on the graph.
|
static List<Long> |
Router.shortestPath(GraphDB g,
double stlon,
double stlat,
double destlon,
double destlat) |
Return a List of longs representing the shortest path from the node
closest to a start location and the node closest to the destination
location.
|
Constructor | Description |
---|---|
GraphBuildingHandler(GraphDB g) |
Create a new GraphBuildingHandler.
|