Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/philmod/node-mapbox
- Owner: Philmod
- Created: 2014-06-17T20:24:23.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-18T01:07:26.000Z (over 10 years ago)
- Last Synced: 2024-10-28T00:19:10.300Z (3 months ago)
- Language: JavaScript
- Size: 148 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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);
});
```