Cordova Directions Plugin to utilise native maps for satnav style direction purposes (using latitude and longitude or address).
cordova plugin add cordova-plugin-directions
cordova plugin add https://github.com/leecrossley/cordova-plugin-directions.git
You do not need to reference any JavaScript, the Cordova plugin architecture will add a directions
object to your root automatically when you build.
Ensure you use the plugin after your deviceready
event has been fired.
directions.navigateTo("51.50722", "-0.12750"); // latitude, longitude
directions.navigateToAddress("123 Main St. Orlando, Florida"); // address
Support for Android and Windows Phone 8. Address navigation is available on Android only.