title: Enable Mapbox Draw control programmatically
body: <p>Using Mapbox-gl-draw (<a href="https://github.com/mapbox/mapbox-gl-draw" rel="nofollow noreferrer">https://github.com/mapbox/mapbox-gl-draw</a>)</p>
  
  <p>I am able to get the basic example up and running, and this package does everything I need. However, I am having trouble figuring out how to activate the draw functionality programatically. For example, my application has some panel overlays, and as part of a form I'd like to activate the draw ability by clicking a custom button, not the control button that shows on the map. Ideally I'd like to keep the map control button hidden (which I can do).</p>
  
  <p>I've scoured the documentation with no luck. Anyone have any insight?</p>
  
  <p>Demo of the functionality I am referring to here: <a href="https://www.mapbox.com/mapbox-gl-js/example/mapbox-gl-draw/" rel="nofollow noreferrer">https://www.mapbox.com/mapbox-gl-js/example/mapbox-gl-draw/</a></p>