is time in mapdist function real-time travel time or static?

后端 未结 1 1011
你的背包
你的背包 2021-01-15 16:09

I am interested in driving distance and time using the mapdist function in ggmap.

Is this travel time timely updated (real-time traffic information) or

1条回答
  •  自闭症患者
    2021-01-15 16:51

    This function uses standard google API. There you can find that you would have to specify optional parameter departure_time to your request, to take traffic under consideration.

    And if you look into mapdist source code you can see that departure_time is not part of your request (neither as parameter, or default option).

    0 讨论(0)
提交回复
热议问题