| Package | Description |
|---|---|
| com.graphhopper |
| Modifier and Type | Method and Description |
|---|---|
GHRequest |
GHRequest.addPoint(GHPoint point)
Add stopover point to routing request.
|
GHRequest |
GHRequest.addPoint(GHPoint point,
double favoredHeading)
Add stopover point to routing request.
|
GHRequest |
GHRequest.setAlgorithm(String algo)
For possible values see AlgorithmOptions.*
|
GHRequest |
GHRequest.setLocale(Locale locale) |
GHRequest |
GHRequest.setLocale(String localeStr) |
GHRequest |
GHRequest.setPathDetails(List<String> pathDetails) |
GHRequest |
GHRequest.setPointHints(List<String> pointHints) |
GHRequest |
GHRequest.setVehicle(String vehicle)
Specify car, bike or foot.
|
GHRequest |
GHRequest.setWeighting(String w)
By default it supports fastest and shortest.
|
| Modifier and Type | Method and Description |
|---|---|
GHResponse |
GraphHopperAPI.route(GHRequest request)
Calculates the path from specified request visiting the specified locations.
|
Copyright © 2012–2019. All rights reserved.