<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">for the GHResponse object it is
getInstructions, for the Path object it is calcInstructions.<br>
<br>
If you do not disable instructions for a request it will always
call path.calcInstruction behind the scene. Then they are
available via response.getInstructions<br>
<br>
Peter.<br>
<br>
<br>
</div>
<blockquote cite="mid:1375705695.640037781@f435.i.mail.ru"
type="cite">
Maybe you mean method getInstructions ?<br>
GHResponse resp = hopper.route(req);<br>
InstructionList il = resp.getInstructions();<br>
<br>
Because resp.calcInstructions() is undefined for the type
GHResponse<br>
<br>
<br>
Понедельник, 5 августа 2013, 14:05 +02:00 от Peter K
<a class="moz-txt-link-rfc2396E" href="mailto:peathal@yahoo.de"><peathal@yahoo.de></a>:<br>
<blockquote style="border-left:1px solid #0857A6; margin:10px;
padding:0 0 0 10px;" class="mailru-blockquote">
<div id="">
<div class="js-helper js-readmsg-msg">
<style type="text/css"></style>
<div id="style_13757043450000000058" class="mr_read__body">
<base target="_self" href="https://e.mail.ru/">
<div id="style_13757043450000000058_BODY">
<div>see the methods in InstructionList:<br>
<br>
InstructionList il = path.calcInstructions();<br>
il.getDistances();<br>
il.createDistances(Locale.GERMANY);<br>
...<br>
<br>
Peter.<br>
<br>
<br>
</div>
<blockquote
cite="mid:1375703952.293110198@f62.i.mail.ru"
type="cite"> Hello !<br>
<span id="result_box" lang="en"><span>Where can I</span>
<span>get information</span> <span>to display</span>
<span>turns</span><span>?</span><br>
<span>For example:</span> <span>after 100</span> <span>meters
turn right</span></span>.<br>
<br>
-- <br>
Dmitriy Puchkov<br>
<br>
<fieldset></fieldset>
<br>
<pre wrap="">_______________________________________________
GraphHopper mailing list
<a moz-do-not-send="true" href="sentmsg?mailto=mailto%3aGraphHopper@openstreetmap.org" target="_blank">GraphHopper@openstreetmap.org</a>
<a moz-do-not-send="true" href="http://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">http://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
</blockquote>
<br>
</div>
<div>_______________________________________________<br>
GraphHopper mailing list<br>
<a moz-do-not-send="true"
href="sentmsg?compose&To=GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
<a moz-do-not-send="true"
href="http://lists.openstreetmap.org/listinfo/graphhopper"
target="_blank">http://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br>
</div>
<base target="_self" href="https://e.mail.ru/"> </div>
</div>
</div>
</blockquote>
<br>
<br>
-- <br>
Дмитрий Пучков<br>
<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="http://lists.openstreetmap.org/listinfo/graphhopper">http://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
</blockquote>
<br>
</body>
</html>