i have set up my leaflet multipolyline like this...
window.polyline = L.polyline(createRings(allDriver.length), {color: generateRandomColor(1)}).addTo(map);
In my case, now all the diffenrent rings now have the same one color.
Is there a way to give each ring a different random color, or do i have to make a variable for each ring? And if so, how do i make a dynamic amount of such instances?
thanks!