Socket
Book a DemoInstallSign in
Socket

address2gps

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

address2gps

get gps by address without using google map api

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

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

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

Keywords

geocode

FAQs

Package last updated on 16 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts