| Package | Description |
|---|---|
| com.graphhopper | |
| com.graphhopper.routing.template |
| 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 |
|---|---|
List<Path> |
GraphHopper.calcPaths(GHRequest request,
GHResponse ghRsp)
This method calculates the alternative path list using the low level Path objects.
|
GHResponse |
GraphHopperAPI.route(GHRequest request)
Calculates the path from specified request visiting the specified locations.
|
GHResponse |
GraphHopper.route(GHRequest request) |
| Modifier and Type | Field and Description |
|---|---|
protected GHRequest |
ViaRoutingTemplate.ghRequest |
| Constructor and Description |
|---|
AlternativeRoutingTemplate(GHRequest ghRequest,
GHResponse ghRsp,
LocationIndex locationIndex) |
RoundTripRoutingTemplate(GHRequest request,
GHResponse ghRsp,
LocationIndex locationIndex,
int maxRetries) |
ViaRoutingTemplate(GHRequest ghRequest,
GHResponse ghRsp,
LocationIndex locationIndex) |
Copyright © 2012–2018. All rights reserved.