Project-OSRM / osrm-frontend

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

Add option to change endpoint (Nominatim to Directions API) #160

Open amyleew opened 8 years ago

amyleew commented 8 years ago

Add button / functionality to switch between router endpoints for better testing.

/cc @geohacker @TheMarex

geohacker commented 8 years ago

Yes!

cc @batpad

gelinger777 commented 4 years ago

try

geocoder: Geocoder.nominatim({serviceUrl:'http://localhost:7070/'}),

in index.js at line 97 if somebody needs it