我对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中使用以上代码时,请求失败。
您能否建议带有多个路标的请求的正确格式?
我对Here Maps Routing API v8非常陌生。我尝试了此处提供的示例:https://developer.here.com/documentation/maps/3.1.15.1/dev_guide/topics/routing.html我使用了...
您尝试通过将数组传递给via
参数的方法,应该是传递多个航路点的正确方法,但是似乎尚不支持。路由v8是最新的API,我遇到了同样的问题。