react-native-google-matrix

0.0.3 • Public • Published

Google Distance Matrix API for react-native

Build Status npm version

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...

/react-native-google-matrix/

    Package Sidebar

    Install

    npm i react-native-google-matrix

    Weekly Downloads

    18

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • aldogint