To make a route request for 'foot' try:
GHRequest.setVehicle(EncodingManager.FOOT)

You need also to use the a graph that supports the travel mode.
GraphHopper by default creates graphs with contraction hierarchies enabled and 'car' travel mode.

--
Emux
Cruiser <http://wiki.openstreetmap.org/wiki/Cruiser> - Atlas <http://wiki.openstreetmap.org/wiki/Atlas_%28navigation_application%29>
_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper

Reply via email to