Drawing a link between coordinates of customers

Hi there,
Currently, I am doing research in the area of designing ML algorithms to solve TSP problems.
As a dataset, I used OpenStreetMap to obtain coordinates of customer nodes for which I am supposed to construct the shortest tour.
Eventually, I got the optimal (based on the shortest distance) coordinate locations of customers and I wanted to draw a route linking these coordinates
I, therefore, want to know if there is an API to help me draw a route for the coordinates or any other means to make it.
I greatly appreciate your help.

I use mapsforge. I suspect you are implementing it urself in java?

You may want to look at this GraphHopper's new Route Optimization Editor - GraphHopper Directions API

Powered by Discourse