How do i set route type to Pedestrian in Graphhopper android?
I have been using GHRequest.setVehicle() method in android, and it does not work.
I have tried using "foot", and "bike". None worked. Also, it doesn't work when i changed Algorithms too. Only Dijkstra_BI is working now.
GHRequest req = new GHRequest(fromLat, fromLon, toLat, toLon).
When you import the data (on the desktop/server machine) you have to specify the vehicles you need via
graph.flag_encoders=bike,foot,... in the config.properties or in older versions