Leaflet changing Marker color

So this is one of the top hits in Google for styling Leaflet Icon, but it didn’t have a solution that worked without third parties, and I was having this problem in React as we needed dynamic colours for our routes and icons. The solution I came up with was to use Leaflet.DivIcon html attribute, … Read more