Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Add a miles or kilometers config option for directions #354

Open
trosel opened this issue Aug 24, 2019 · 0 comments
Open

Add a miles or kilometers config option for directions #354

trosel opened this issue Aug 24, 2019 · 0 comments

Comments

@trosel
Copy link

trosel commented Aug 24, 2019

Just as a guess, I think the option could be added in a similar spot to this userLang config option.

https://github.com/QwantResearch/erdapfel/blob/ffd91d287130c13620ca3565466e25bbd6d0acea/src/adapters/direction_api.js#L44

Something like const userUnits = masq.getPreferredUnits(); maybe?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant