I’m in a Leaflet Routing control with an Openrouteservice router.
When i build the route i get the directions without respecting one-way streets.
If i set the same path directly in maps.openrouteservice.org i get the right directions.
Params
instructions: true
instructions_format: text
geometry_format: geojson
preference: recommended
units: m
profile: driving-car
attributes: detourfactor|percentage
I found the error comparing the 2 web addresses.
I was focused on parameters but the issue was related to the coordinates: the waypoints were swapped , that’s why the one-way street was in the driving path.
A trivial error kept hidden by the lack of something signaling the direction in the line path.
Thanx for your time.