<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Emux,<br>
<br>
is still something unclear?<br>
<br>
Peter.<br>
<br>
On 24.10.2014 19:27, Emux wrote:<br>
</div>
<blockquote cite="mid:544A8C07.3000307@gmail.com" type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
Thanks Peter,<br>
<br>
<blockquote cite="mid:544A864C.8030603@gmx.de" type="cite">
<div class="moz-cite-prefix">I assume you are using the Java API
(or did you meant the web API?)</div>
</blockquote>
<br>
Yes I'm using the Java GH API on Android and Java.<br>
<br>
<blockquote cite="mid:544A864C.8030603@gmx.de" type="cite">
<div class="moz-cite-prefix">then you call instruction.getName
for the street name and instruction.getSign for the sign etc<br>
<br>
Where you get every instruction via:<br>
instruction = ghResponse.getInstructions().get(index);<br>
</div>
</blockquote>
<br>
And for retrieving the turn description without street name I need
for each sign to perform:<br>
Translation.tr("turn", Translation.tr(key));<br>
<br>
<div class="moz-signature">-- <br>
<font color="#000000">Emux</font><br>
<a moz-do-not-send="true"
href="http://wiki.openstreetmap.org/wiki/Cruiser">Cruiser</a>
- <a moz-do-not-send="true"
href="http://wiki.openstreetmap.org/wiki/Atlas_%28navigation_application%29">Atlas</a></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/graphhopper">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
</blockquote>
<br>
</body>
</html>