1

Wialon JS API - getOneToManyRoute distance and time

Topic: Wialon JS API - getOneToManyRoute distance and time

I am using Wialon JS API wialon.util.Gis.getOneToManyRoute and it returns the distance and time, i would like to ask about this distance is that the shortest path? and the time is based on the traffic jam at certain time or what ?, please advise

2

Wialon JS API - getOneToManyRoute distance and time

(edited by stal 18/06/2018 14:53:15)

Re: Wialon JS API - getOneToManyRoute distance and time

mg.fouad wrote:

I am using Wialon JS API wialon.util.Gis.getOneToManyRoute and it returns the distance and time, i would like to ask about this distance is that the shortest path? and the time is based on the traffic jam at certain time or what ?, please advise

The method returns the shortest path. Time is calculated according to road speed limits. At the moment, traffic jams are not taken into account but maybe will be implemented in the future.