Legacy
Mapbox.js is no longer in active development. To learn more about our newer mapping tools see Mapbox GL JS.
You are viewing an older version of Mapbox.js. Check out v3.3.1 for the latest.
Standalone
By default, Mapbox.js includes a bundled version of Leaflet that Mapbox has ensured is compatible. A standalone version of Mapbox.js is also available which you can use if you would like to supply your own version of Leaflet. When using this technique, you will use the newest version of Mapbox.css.
<script src='https://api.mapbox.com/mapbox.js/v3.3.1/mapbox.standalone.js'></script>
<link href='https://api.mapbox.com/mapbox.js/v3.3.1/mapbox.css' rel='stylesheet' />
<script src='your version of Leaflet.js'></script>