Qt5/QML Displaying a custom route on a map

649 views Asked by At

What would be the best way to draw a custom route on a QML Map with a set of given coordinates? Basically, all I need is that the map highlights the path along the road and does not go straight to each point. No animations needed either.

Edit: I need it to be in a desktop application.

1

There are 1 answers

3
scai On

One option is to display a HTML website using Leaflet or OpenLayers. Both support displaying a GPX track. The track can be obtained by using one of the various online routers for OSM.