Closed CoughSyrup123 closed 6 years ago
I have integrated the error display and now get this message sometimes:
Would it be possible that the problem is not my code but the page which calculates the route? I use nominatim (URL: http://nominatim.openstreetmap.org/search/) for route calculating
Hi!
It is most likely that the issue is OSRM's demo server, which suffers from a lot of load issues and quite frequently (IMHO) responds with HTTP 429 error codes, which prevents Leaflet Routing Machine from displaying a route.
So, if you need better availability, you need to either use a paid service provider (Mapbox is good and works well with Leaflet Routing Machine, but there are multiple other as well), or set up your own routing server.
I am closing this issue, since it is outside the scope of Leaflet Routing Machine to address this.
Hi there,
I have a problem with calculating a route. Sometimes no route is calculated. I have no way of reproducing that and it doesn't happen every time.
My code how i calculate the route with two waypoints: