Routing/directions with a button

Hi all,

Is it possible to add a button to open OSM with directions, from a given startingpoint to a given destination? If so, how could that be accomplished?

Thanks

There’s quite a few services offering routing based on OSM data.

Some of them are listed here: https://wiki.openstreetmap.org/wiki/Routing/online_routers
https://maps.openrouteservice.org/directions?n1=49.409445&n2=8.692953&n3=13&b=0&k1=en-US&k2=km for example.