无论我为出发时间指定的值如何,Calculate Matrix都会为travelTime返回相同的结果。
这是请求:
https://matrix.route.api.here.com
/routing/7.2/calculatematrix.json
?app_id={}
&app_code={}
&start0=42.697670,23.321766
&destination0=42.644611,23.410811
&destination1=42.674945,23.308694
&destination2=42.698543,23.308721
&destination3=42.668093,23.367410
&destination4=42.646305,23.367816
&destination5=42.629910,23.374102
&destination6=42.660108,23.382269
&destination7=42.136030,24.742189
&destination8=42.504910,27.462307
&destination9=42.606166,23.036060
&mode=fastest;car;
&traffic:enabled
&summaryAttributes=tt,di
&departure=2019-07-15T22:00:00
答案 0 :(得分:0)
原来,我没有将“流量”设置为“启用”。
正确的方法是:
&mode=fastest;car;traffic:enabled;
相对于:
&mode=fastest;car;
&traffic:enabled