react-native-google-matrix
v0.0.3
Published
A simple react-native wrapper for Google's Distance Matrix API
Downloads
18
Maintainers
Readme
Google Distance Matrix API for react-native
This repository is forked from node-google-distance.
A simple react-native wrapper for Google Distance Matrix API
Installation
npm install --save react-native-google-matrix
Usage
var distance = require('google-distance');
distance.get(
{
origin: '-7.841879,110.409193',
destination: '-7.741194,110.342588'
},
function(err, data) {
if (err) return console.log(err);
console.log(data);
});
to be updated...