dpa99c / react-native-launch-navigator

A React Native module for launching today's most popular navigation/ride apps to navigate to a destination.
143 stars 34 forks source link

Feature Request: Multiple locations entry required. #7

Closed vivekshah-zymr closed 5 years ago

vivekshah-zymr commented 5 years ago

I'm submitting a ... (check one with "x"):

Current behaviour: I want to open a map with multiple locations, like source, destination 1, destination 2, destination 3 and the final destination. But right now I am not able to open map with only source and destination.

Expected behaviour: There should be a function that takes multiple locations to display on a map.

Please review this and let me know.

dpa99c commented 5 years ago

This has been asked before (https://github.com/dpa99c/phonegap-launch-navigator/issues/98) and the answer is that it's not possible because it requires the navigation apps to support specifying multiple locations (waypoints) in their URL schemes.

Google Maps used to be the only app supported by this plugin which a supported multiple locations in its URL scheme, but that seems to no longer work, although I haven't tested it myself again recently.