Skip to content

Cordova / PhoneGap Map Directions Plugin for Apache Cordova >= 3.0.0

Notifications You must be signed in to change notification settings

clarklight/cordova-plugin-directions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Directions Plugin for Apache Cordova

Cordova Directions Plugin to utilise native maps for satnav style direction purposes (using latitude and longitude or address).

Install

Latest published version on npm (with Cordova CLI >= 5.0.0)

cordova plugin add cordova-plugin-directions

Latest version from GitHub

cordova plugin add https://github.com/leecrossley/cordova-plugin-directions.git

Usage

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.

Navigate to a latitude and longitude

directions.navigateTo("51.50722", "-0.12750"); // latitude, longitude

Navigate to an address (Android only)

directions.navigateToAddress("123 Main St. Orlando, Florida"); // address

Platforms

Support for Android and Windows Phone 8. Address navigation is available on Android only.

License

MIT License

About

Cordova / PhoneGap Map Directions Plugin for Apache Cordova >= 3.0.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 59.5%
  • C# 28.6%
  • JavaScript 11.9%