Reputation: 5
I want to include the the stop over between the start and destination, So route should be calculate like
start-->waypoints-->destination
.
This is the api request of heremap:
https://router.hereapi.com/v8/routes?transportMode=car&origin=36.15033,-115.111499&destination=36.155825,-115.145881&via:36.171873,-115.146747&return=summary&apiKey=<apiKey>
But route calculates between origin and destination only, it avoid the via co-ordinates
Upvotes: 0
Views: 238
Reputation: 1887
The problem is in your request.
Use via=
instead of via:
https://router.hereapi.com/v8/routes?transportMode=car&origin=36.15033,-115.111499&via=36.171873,-115.146747&destination=36.155825,-115.145881&return=summary,polyline&apiKey=
Upvotes: 1