I am very new to the Here Maps Routing API v8.
I have tried the example provided here: https://developer.here.com/documentation/maps/3.1.15.1/dev_guide/topics/routing.html
I have used the routingParameters as shown below:
var routingParameters = {
'routingMode': 'fast',
'transportMode': 'car',
'origin': '50.1120,8.6834',
'destination': '52.5309,13.3846',
'return': 'polyline'
};
Now I want to add multiple waypoints in the routingParameters and I tried the below format for the same:
'via' : ['50.1234,8.7654', '51.2234,9.1123']
But the request is failing when I use the above line in the routingParameters.
Can you please suggest the correct format of the request with multiple waypoints ?