This feature has been updated

Visit the documentation page at Adding data features and polygons to your Mapbox map.

Soon you’ll be able to draw lines and polygons and add custom styles to make maps with even more data and interactivity.