Thanks Peter,

I assume you are using the Java API (or did you meant the web API?)

Yes I'm using the Java GH API on Android and Java.

then you call instruction.getName for the street name and instruction.getSign for the sign etc

Where you get every instruction via:
instruction = ghResponse.getInstructions().get(index);

And for retrieving the turn description without street name I need for each sign to perform:
Translation.tr("turn", Translation.tr(key));

--
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