Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/philmod/node-mapbox

Nodejs SDK for mapbox
https://github.com/philmod/node-mapbox

Last synced: 27 days ago
JSON representation

Nodejs SDK for mapbox

Awesome Lists containing this project

README

        

node-mapbox
===========

Nodejs SDK for mapbox

## Tests
First you have to add a mapid in the `config/keys.js` file in order to run the tests.

```
$ npm test
```

## Usage
```
var mapbox = require('mapbox');
mapbox.geocoding.forward('mapid.12345', 'san francisco', function(e, res) {
if (e) console.error(e);
else console.log('results : ', res);
});
```