Hello everyone. I have a problem on route task. I want to show the detailed information about those routes calculated by the solve() function in route task API.
The screenshot is the route results I got.After getting the route results, I want to click one route then show the detailed information of this route. How can I achieve this?
I appreciate any help you can provide.
Hi Jake,
Thank you for your help. I will have a look and try.
Lin,
That is what the Directions widget was created for:
Hi Robert,
Thank you for your advice. I know this widget but I have already used the routeTask API to solve the route. I wonder if I use this Directions API, I will have to rewrite the solve part.
Lin,
The directions widget does all the route task stuff behind the scenes for you, so yes it would involve re-working your code.
Robert,
Got it. I will think about it carefully.
Thank you very much.