If I am travelling from one place to another and using driving directions from Google Map API How can I calculate traffic status during travelling using Google Map API?
Thanks in Advance
If I am travelling from one place to another and using driving directions from Google Map API How can I calculate traffic status during travelling using Google Map API?
Thanks in Advance
根据文档,距离矩阵 API 允许 Google Maps API for Business 用户输入departure_time
,以便在考虑当前交通状况的情况下获得旅行时间估计(“旅行持续时间”)。
使用当前 API 无法获取流量数据。Distance Matrix API
或将Directions API
流量考虑在内,但您无法获取实际流量的数据。