Actual
Suggestions for the autocomplete menu in To, From, or Via fields do not always show relevant results. Some localities are far away.
Expected
Suggestions include places close to user.
Practically, we can improve with any of:
- Use a location bias lat/lng. Currently, GraphHopper UI does only use the other input fields as location bias. Notably, there is initially no location bias with empty From and To fields. We could use the user home lat/lng (as defined in user profile from his postal code).
- Give more importance to the location bias. Currently not an option in GraphHopper geocoding requests.
- Use Mapbox JavaScript API for geocoding, instead of GraphHopper one.
- Use Google Maps JavaScript API for geocoding, instead of GraphHopper one. Note that Google Terms of Use would require us to use Google Maps tiles to display results, instead of currently Mapbox.