There are two relevant examples on mapbox's documentation:
Change Marker Color on Click and Draggable Marker
But they go about creating the markers in very different ways.
Method A:
In the "Change Marker Color on Click" example...
they create markers from a geoJSON object, they add a featureLayer to the map and use setGeoJSON to apply that geoJSON object to the featureLayer.
Method B:
In the "Draggable Marker" example...
they create a new marker object via L.marker and then add it to the map with marker.addTo(map)
In Method A I cannot seem to figure out where to add a draggable value within the geoJSON object... or if that is even possible.
In Method B I cannot seem to figure out how to change the marker color after it has been created. There is no initial geoJSON object to iterate through like in the "Change Marker Color on Click" example. However I have found that I can iterate through layers via map.featureLayer.eachLayer and I can successfully see the pins I've created... I just don't see any 'marker-color' property or similar that I can change to affect the markers' color.
Any help would be appreciated... Thanks!