3.0.1 • Published 5 years ago

googlemaps-2-mapbox v3.0.1

Weekly downloads
1
License
GPLv3
Repository
github
Last release
5 years ago

googlemaps-2-mapbox

Convert Google Maps IDs to Mapbox IDs : GOOGLE ID => LAT/LNG => MAPBOX ID (Most precise way to do it)

Usage

$ npm i -S googlemaps-2-mapbox
const convert = require("googlemaps-2-mapbox");

const googleID = 'XXXXX'

const options = {
  google: process.env.GOOGLE_GEOCODING_API_KEY,
  mapbox: process.env.MAPBOX_API_KEY,
};

const mapboxID = await convert(googleID, options);

Information

This package is written in typescript but also pushed to npm as a built javascript. It is compatible both with Typescript and Javascript.

3.0.1

5 years ago

3.0.0

5 years ago

2.0.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago