The MapBox API just got a fresh coat of
paint and much-improved documentation to make it easier build new applications
with fast, custom maps hosted with MapBox. To show it off I wrote a quick demo called Scope that uses
the API in combination with Easey and
Modest Maps to do a whole new kind
of map browser for MapBox’s maps.
We’ve already used the API to build custom sites
for NPR, the World Food Programme,
and others, providing an established version api.tiles.mapbox.com/v2 that will continue to work as development on the API continues. We’ve also added extensive documentation on how to work with the API.
So what does the API provide? One example is that you can grab a listing of
your maps and information about each one as
which you can then turn into an interactive map using Wax.
The API speaks JSON, a format that has parsers in nearly
which lets you pull it from MapBox without the need for messy proxies or
cross-domain restrictions. For Flash users, we provide a crossdomain.xml file
as well, and for those on the cutting edge, the service supports