Currently I am referring to this document (https://developer.here.com/documentation/routing-api/api-reference-swagger.html) and am able to send request to calculate Route by giving route Parameters as shown below:
// Get an instance of the routing service version 8:
var router = platform.getRoutingService(null, 8);
//routing parameters
var routingParameters = {
'routingMode': 'fast',
'transportMode': 'car',
// The start point of the route:
'origin': '52.550028,13.302349',
// The end point of the route:
'destination': '58.553272,13.305195',
// Include the route shape in the response
'return': 'polyline,typicalDuration,summary,routeHandle'
};
// Call calculateRoute() with the routing parameters,
// the callback (onResult) and an error callback function (called if a
// communication error occurs):
router.calculateRoute(routingParameters, onResult,
function(error) {
alert(error.message);
});
However, if I need to use route handle for updated traffic information for already calculated route, how do i need to request ? Do we have any methods for using route handle like we use calculateRoute method for calculating the new route.