<p>The intention (certainly from my POV when I did the initial coding on the directions feature) was ultimately for the JS client to call the geocoding sources directly, rather than having geocoder_controller.rb call and agglomerate them. This would then enable refactoring so that the directions could use the same code as the standard placename search. It'd be a good project for a JS developer to work on.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2356?email_source=notifications&email_token=AAK2OLNNDHC7ZN6EHHXELVLQGOWNPA5CNFSM4IO23OW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5D7ONY#issuecomment-524810039">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMO4CAU3PO2KXXIC53QGOWNPANCNFSM4IO23OWQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLNHCFGP3V5KI3KZPODQGOWNPA5CNFSM4IO23OW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5D7ONY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2356?email_source=notifications\u0026email_token=AAK2OLNNDHC7ZN6EHHXELVLQGOWNPA5CNFSM4IO23OW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5D7ONY#issuecomment-524810039",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2356?email_source=notifications\u0026email_token=AAK2OLNNDHC7ZN6EHHXELVLQGOWNPA5CNFSM4IO23OW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5D7ONY#issuecomment-524810039",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>