You are viewing an older version of Mapbox.js. Check out v3.1.0 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.1.0/mapbox.standalone.js'></script>
<link href='https://api.mapbox.com/mapbox.js/v3.1.0/mapbox.css' rel='stylesheet' />
<script src='your version of Leaflet.js'></script>