[GraphHopper] Route instructions without street names

Emux devemux86 at gmail.com
Fri Oct 24 17:27:35 UTC 2014


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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20141024/d01be016/attachment.html>


More information about the GraphHopper mailing list