want to show weight field value along with distance and duration
rachha opened this issue · comments
Vinay Rachapalli commented
Yury Lebedev commented
IMHO you should insert new column to table at https://github.com/Project-OSRM/osrm-frontend/blob/gh-pages/src/itinerary_builder.js#L101 and fill it before distance (so as it could be zero and skipped) before https://github.com/Project-OSRM/osrm-frontend/blob/gh-pages/src/itinerary_builder.js#L138
Vinay Rachapalli commented
Thanks @yuryleb, but the one you suggested will be useful when I want to show details of every subpath(step), but I'm not interested in that. I suppose to show the weight of an overall path.