address2gps
v0.1.0
Published
get gps by address without using google map api
Downloads
1
Maintainers
Readme
Description
Get latitude&longitude from google map without using any API.
Install
yarn add geocoder-free
Usage
Get latlng by address
const { GetLatLngByAddress } = require('geocoder-free'); GetLatLngByAddress('tokyo tower').then(console.log); // print [35.6585769, 139.7454506]
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.