Make context menu use from/to for directions
authorTom Hughes <tom@compton.nu>
Sun, 19 Nov 2017 19:49:39 +0000 (19:49 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 19 Nov 2017 19:49:39 +0000 (19:49 +0000)
commite813a31d7a7d6f2fe7944543dd2a65f899c36dc5
treeace75f9b1ac7309bf495d50a54dc267a46818df3
parent7ce94ad0ec09715b6dc7268db4f5ec3e94906185
Make context menu use from/to for directions

This ensures that the router will try to geocode the values rather
than assuming that they are latitude/longitude pairs.

Fixes #1684
app/assets/javascripts/index/contextmenu.js