I made some changes in osrm-backend, so weight and duration fields are not going to be the same. Therefore I want to show weight(with units) along with duration and distance. I went through some part of the leaflet-routing-machine code. and also went through formatTime and formatDistance. I understood that we must add formatWeight and weightTemplate. Can someone guides me, I like to contribute this feature.
Thanks
I made some changes in osrm-backend, so weight and duration fields are not going to be the same. Therefore I want to show weight(with units) along with duration and distance. I went through some part of the leaflet-routing-machine code. and also went through formatTime and formatDistance. I understood that we must add formatWeight and weightTemplate. Can someone guides me, I like to contribute this feature. Thanks