Mapbox.js is no longer in active development. To learn more about our newer mapping tools see Mapbox GL JS.
Open popup programmatically
Open a markers popup from a button.
Get a free Mapbox account to create your own custom map and use it in this example.