nativescript-directions icon indicating copy to clipboard operation
nativescript-directions copied to clipboard

Optimize way points

Open cedricversluys opened this issue 5 years ago • 2 comments

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.

cedricversluys avatar Aug 29 '19 09:08 cedricversluys

Is that available for Apple (Maps) as well?

EddyVerbruggen avatar Aug 29 '19 12:08 EddyVerbruggen

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

cedricversluys avatar Aug 29 '19 12:08 cedricversluys