[openstreetmap/openstreetmap-website] Directions: "Sorry - couldn't find that place": Say WHICH place (#1790)

mmd notifications at github.com
Sun Mar 25 09:33:47 UTC 2018

It's a geocoding issue, one of {start, end} could not be found. It has nothing to do with a route that couldn't be found - see directions.js:

      $.getJSON(OSM.NOMINATIM_URL + 'search?q=' + encodeURIComponent(endpoint.value) + '&format=json', function (json) {
        endpoint.awaitingGeocode = false;
        endpoint.hasGeocode = true;
        if (json.length === 0) {

Just put in some random (unknown) destination, like "zzzzzzzzzzzz", which triggers the alert box both when setting a new start position via the context menu on the map - or - simply hit the "Go" button.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180325/b7edabe7/attachment.html>

More information about the rails-dev mailing list