NASA Proceeds to Mars

    address2gps

    0.1.0 • Public • Published

    geocoder-free

    npm version dependencies Status devDependencies Status CircleCI codecov

    Description

    Get latitude&longitude from google map without using any API.

    Install

     yarn add geocoder-free

    Usage

    1. Get latlng by address

      const { GetLatLngByAddress } = require('geocoder-free');
       
      GetLatLngByAddress('tokyo tower').then(console.log);
      // print [35.6585769, 139.7454506]
    2. Get latlng by goo.gl(google map shorten url)

      const { GetLatLngByGooGl } = require('geocoder-free');
       
      GetLatLngByGooGl('https://goo.gl/maps/TmYFq1DdceHVpsHV6').then(console.log);
      // print [35.6585769, 139.7454506]

    License

    This project is licensed under the terms of the MIT license.

    Install

    npm i address2gps

    DownloadsWeekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    17 kB

    Total Files

    19

    Last publish

    Collaborators

    • thundermiracle