EddyVerbruggen / nativescript-directions

:point_up_2: :point_right: :point_down: :point_left: Open the Maps app to show directions to anywhere you like
MIT License
83 stars 21 forks source link

Optimize way points #28

Open cedricversluys opened 5 years ago

cedricversluys commented 5 years ago

When executing the navigate() method, it would be nice to be able to pass an "optimizeWaypoints" parameter. When i set the 'to' property to an array of addresses, it just calculates the route according to the order of the array, which is not always the optimal route.

EddyVerbruggen commented 5 years ago

Is that available for Apple (Maps) as well?

cedricversluys commented 5 years ago

I don't know.... Would be nice to include though, since I assume a lot of ios users will have google maps installed.