【发布时间】:2020-05-29 20:08:46
【问题描述】:
我对 Here Maps Routing API v8 非常陌生。
我已经尝试过这里提供的示例: https://developer.here.com/documentation/maps/3.1.15.1/dev_guide/topics/routing.html
我已经使用了如下所示的routingParameters:
var routingParameters = {
'routingMode': 'fast',
'transportMode': 'car',
'origin': '50.1120,8.6834',
'destination': '52.5309,13.3846',
'return': 'polyline'
};
现在我想在 routingParameters 中添加多个航路点,我尝试了以下格式:
'via' : ['50.1234,8.7654', '51.2234,9.1123']
但是当我在 routingParameters 中使用上述行时,请求失败。
您能否建议具有多个航点的请求的正确格式?
【问题讨论】: