title: Get Marker Feature Instance in MapBox
body: <p>I'm new to mapbox GL JS and am following this example:
  <strong>Add custom markers in Mapbox GL JS</strong>
  <a href="https://www.mapbox.com/help/custom-markers-gl-js/" rel="nofollow noreferrer">https://www.mapbox.com/help/custom-markers-gl-js/</a></p>
  
  <p>Let's say I modify the example above to include 100 different animal markers. How do I change the draggable property of a specific marker after it has been added to the map?</p>
  
  <p>Example: Change the draggable property of the dog marker.</p>
  
  <p>It would be nice to do something like this:
      map.getMarker('dog').setDraggable(true);</p>
  
  <p>I don't see a way to query any of the markers added to my map or modify a specific marker's properties like setLatLng, setDraggable after they have been added to a map.  There is no method to get the collection of markers added to a map.  Thanks for any help!</p>