An angular.js wrapper around the Google Distance Matrix API, inspired by AngularJS-Google-Places
This module is available as bower package, install it with this command:
bower install angular-google-distanceor
bower install git://github.com/nausica/angular-google-distance.gitSee this plunker
- Include the Google Maps JS library in your app
- Add angular-google-distance as a dependency
- Inject GoogleDistanceAPI as a dependency to your controller or other service
- Invoke the getDistanceMatrix method and pass in origins and destinations
MIT