Mapbox.js is no longer in active development. To learn more about our newer mapping tools see Mapbox GL JS.
Turf Convex Hull
Generate a convex hull from a set of points
Get a free Mapbox account to create your own custom map and use it in this example.