Mapbox.js is no longer in active development. To learn more about our newer mapping tools see the Mapbox GL JS documentation.

Mapbox.js is a JavaScript library that allows you to add an interactive map to your website. It is a plugin for Leaflet, and is an open source library that's free to use.

You can use any Mapbox Studio style or Mapbox Studio Classic style as a basemap in Mapbox.js. For more information, see the Mapbox.js documentation.

Was this page helpful?