I have used leaflet-routing-machine with OSRM in it. But server returns too many requests with status code 429 when executing following code
L.Routing.control({
waypoints: [
L.latLng(57.74, 11.94),
L.latLng(57.6792, 11.949)
]
}).addTo(map);
the OSRM service url is https://router.project-osrm.org/route/v1/driving/11.94,57.74;11.949,57.6792?overview=false&alternatives=true&steps=true&hints=;
How else can i achieve this?
The demo server documentation states: