openrouteservice
openrouteservice copied to clipboard
Add preference selection to matrix to allow 'shortest' distance & duration
Here's what I did
Trying to return a matrix with shortest preference
Here's what I got
Matrix defaulting to recommended preference
Here's what I was expecting
API parameter to choose the preference
Here's what I think could be improved
Exposing a preference (or similar named) parameter to the API and pass the value to the matrix algorithm to also return shortest durations and distances.
Also see https://github.com/GIScience/openrouteservice/issues/452 https://ask.openrouteservice.org/t/matrix-for-shortest-fastest-route-preference/3903/2
Hello, Any update regarding availability of this option for api request using openrouteservice-js sdk?