I am trying to generate a route in openlayers with a start and end points and some points during track.
I read about openroute: http://wiki.openstreetmap.org/wiki/OpenRouteService#RouteLink
But I don't know how can I include it on my webpage. My idea is about to have a button which when you press it, it generate the route between all markers in map.
I want that possibility of download it would be available.
In openroute webpage you can introduce points and it generates the route but I don't find an api to see how I can introduce it on my webpage.
Do you know other way to generate route in openlayers?