[GraphHopper] display of the direction indicators
Дмитрий Пучков
d-puchkov at mail.ru
Mon Aug 5 12:53:09 UTC 2013
Thank you very much !
Понедельник, 5 августа 2013, 14:35 +02:00 от Peter K <peathal at yahoo.de>:
>for the GHResponse object it is
getInstructions, for the Path object it is calcInstructions.
>
>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
>
>Peter.
>
>
>>Maybe you mean method getInstructions ?
>>GHResponse resp = hopper.route(req);
>> InstructionList il = resp.getInstructions();
>>
>>Because resp.calcInstructions() is undefined for the type
GHResponse
>>
>>
>>Понедельник, 5 августа 2013, 14:05 +02:00 от Peter K <peathal at yahoo.de> :
>>>see the methods in InstructionList:
>>>
>>>InstructionList il = path.calcInstructions();
>>>il.getDistances();
>>>il.createDistances(Locale.GERMANY);
>>>...
>>>
>>>Peter.
>>>
>>>
>>>>Hello !
>>>>Where can I get information to display turns ?
>>>>For example: after 100 meters
turn right .
>>>>
>>>>--
>>>>Dmitriy Puchkov
>>>>
>>>>
>>>>_______________________________________________
GraphHopper mailing list
>>>>GraphHopper at openstreetmap.org
>>>>http://lists.openstreetmap.org/listinfo/graphhopper
>>>
>>>_______________________________________________
>>>GraphHopper mailing list
>>>GraphHopper at openstreetmap.org
>>>http://lists.openstreetmap.org/listinfo/graphhopper
>>>
>>
>>
>>--
>>Дмитрий Пучков
>>
>>
>>_______________________________________________
GraphHopper mailing list
>>GraphHopper at openstreetmap.org
>>http://lists.openstreetmap.org/listinfo/graphhopper
>
>_______________________________________________
>GraphHopper mailing list
>GraphHopper at openstreetmap.org
>http://lists.openstreetmap.org/listinfo/graphhopper
>
--
Дмитрий Пучков
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130805/f094980f/attachment.html>
More information about the GraphHopper
mailing list