This is the MapBox Javascript API, version 1.x. It's built as a Leaflet plugin. You can read about its launch.
Managed as Markdown in API.md
, following the standards in DOCUMENTING.md
git clone https://github.com/mapbox/mapbox.js.git
npm install
make
This project uses browserify to combine
dependencies and installs a local copy when you run npm install
.
make
will build the project in dist/
.
Test with phantomjs:
npm test
To test in a browser, run a local development server
and go to /test
.