Sorry,
This is my code ...
GraphHopper Hopp = new GraphHopper().forMobile();
Hopp.load(new File(mapsFolder, currentArea).getAbsolutePath()); //load
graph.........
.................
GHRequest req = new GHRequest(fromLat, fromLon, toLat, toLon);
req.setVehicle("bike").setAlgorithm(AlgorithmOptions.ASTAR_BI);
My error in log is : [java.lang.IllegalArgumentException: Vehicle bike
unsupported.
Supported are:car] .. I don't understand ..
2015-06-29 11:16 GMT+02:00 Emux <[email protected]>:
> You need to show us the error to understand.
>
> BTW make sure the graph supports the vehicles you want to use (car, bike,
> foot etc).https://lists.openstreetmap.org/listinfo/graphhopper
>
> --
> 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
>
>
_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper