title: How to make a reat-mapbox-gl marker component draggable?
body: <p>I m using <a href="https://github.com/alex3165/react-mapbox-gl" rel="nofollow noreferrer">https://github.com/alex3165/react-mapbox-gl</a></p>
  <p>My question is how to make a marker component draggable?</p>
  <pre><code> &lt;Map
      id='map'
      style=&quot;mapbox://styles/mapbox/streets-v11&quot;
      center={[locationInputs.lon, locationInputs.lat]}
      containerStyle={{ height: '500px', width: '100%' }}&gt;
         &lt;Marker
            coordinates={[locationInputs.lon, locationInputs.lat ]}
            anchor=&quot;center&quot;&gt;
            &lt;div class=&quot;marker&quot;&gt;&lt;/div&gt;
         &lt;/Marker&gt;
   &lt;/Map&gt;
  </code></pre>
  <p>Have I missed something? Thanks</p>