This week we launched a preview of MapBox Light, our first global OpenStreetMap-based map. We’re eager to get designers and developers testing it out with their applications and data visualizations and get any feedback on issues or concerns that come up. We hope this map makes a great base for situations like datavisualization where you need some context but don’t want it to be too distracting.
If you want to test out this new tileset, there are a number of ways to get it loading on your website. The quickest way is to use an embed code provided by MapBox. Head to the map preview page and pan and zoom around until the view looks like what you want to show. Then click the embed button at the bottom-right of the page.
You’ll get a pop-up containing code that you can copy and paste into a blog post or any other HTML page - just adjust the width and height attributes to make it fit.
You can also achieve more advanced integration with a new or existing application by accessing the tiles through the MapBox Hosting API. We’ve recently expanded our documentation with information on how to build a map ‘microsite’ and making a layerswitcher for a ModestMaps-based application. (Note that v3 is the current version of our api - some of the documentation needs updating and still mentions v2, but v3 is mostly backwards-compatible with it.)