[openstreetmap/openstreetmap-website] Switching to a mode of transport for which a path exists does not return a path (#3050)

Tucker Chapman notifications at github.com
Sat Jan 16 21:56:21 UTC 2021


I see the issue now. Once the search reports "Couldn't find a route between those two places." the only way to display a new route is to search again with a mode of transport that does have a route.

GraphHopper returns a 400 error. The `polyline` is removed from the map and the event function has a catch to not run if the `polyline` is not on the map.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3050#issuecomment-761685496
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210116/d1f029d3/attachment.htm>


More information about the rails-dev mailing list