How represent Routing in JMapViewer

316 Views Asked by At

I use JMapViewer to draw the map in my java desktop application. I would know if exists some methods that I can use to draw the shortest path between to Point following the car path.

1

There are 1 best solutions below

0
On

JMapViewer covers map rendering with OpenStreetMap (OSM). For routing, you will have to use one of the OSM libraries, for example the Apache-licensed, open-source GraphHopper.