Project-OSRM / osrm-frontend

Modular rewrite of the OSRM frontend using LRM
BSD 2-Clause "Simplified" License
312 stars 240 forks source link

Provide additional imperial unit conversion option #153

Open daniel-j-h opened 8 years ago

daniel-j-h commented 8 years ago

As requested in

there should be an option for MPH conversion instead --- or better in addition --- to the default km/h.

/cc @amyleew what is your take on this? Is this something that could be easily and quickly done?

perliedman commented 8 years ago

Not to nitpick, but I don't think km/h or any speeds are shown anywhere - the issue is (as far as I understand), to show distances in miles rather than kilometers.

There's already an option in Leaflet Routing Machine to use imperial units rather than metric, so this should hopefully just be a matter of adding a UI to change that option.

daniel-j-h commented 8 years ago

Ha, correct. The MPH just came in because it was the mailinglist thread's topic. Yes, an option to switch to imperial units is what this is about.