simple-bing-geocoder

0.1.0 • Public • Published

Geocoder

Installation:

npm install simple-bing-geocoder

Usage

You can pass a string representation of a location and a callback function to geocoder.geocode. It will accept anything that Bing will accept: cities, streets, countries, etc.

Example:

var geocoder = require('simple-bing-geocoder');

// Geocoding
geocoder.geocode("350 5th Ave, New York, NY 10118", function ( err, data ) {
  // do something with data
}, { key: "YOUR_BING_API_KEY" });

Results will look like standard Bing JSON Output

Readme

Keywords

none

Package Sidebar

Install

npm i simple-bing-geocoder

Weekly Downloads

0

Version

0.1.0

License

Apachev2

Last publish

Collaborators

  • sean-hill