I am using cordova application of telerik appbuilder based on HTML, javascript and css with Google Maps API v3 developing app for iOS and android. I have 2 points A and B each having different latitude and longitude for which, I am able to show a path to move from A to B on map using Google API.
Now I want to do navigation from A to B in the app itself. I don't want to open the native app for map available in ios or android.
I don't know how can I do this navigation from A to B? As its a real time app which will show my current location. For navigation it will show my current location starting from A and will move according to my current location up to B.
Hope someone can let me know any good solution.
Thanks for the reply.
I have implemented the navigation using the given link below- https://github.com/dpa99c/phonegap-launch-navigator/
I have given the code as shown below for this.
Its switching to google maps app and navigating perfectly. But after we reach to destination, it does not come back to our app automatically.
I have also used custom URL plugin as available from- https://github.com/Telerik-Verified-Plugins/Custom-URL-scheme