Circular routes

What is the best approach to create circular routes with a distance travel budget?

In other words, what I would like to create is a route that start from a point and that comes back at the same point after having walked (it’s a foot scenario) at most a distance specified by the user.

Thanks!

There is a round trip feature that is triggered with &algorithm=round_trip&ch.disable=true and has some other options like round_trip.distance and heading