简体   繁体   English

如何在JMapViewer中表示路由

[英]How represent Routing in JMapViewer

I use JMapViewer to draw the map in my java desktop application. 我使用JMapViewer在Java桌面应用程序中绘制地图。 I would know if exists some methods that I can use to draw the shortest path between to Point following the car path. 我会知道是否存在一些方法,可以用来在汽车路径之后的Point之间绘制最短路径。

JMapViewer covers map rendering with OpenStreetMap (OSM). JMapViewer涵盖了OpenStreetMap(OSM)的地图渲染。 For routing, you will have to use one of the OSM libraries , for example the Apache-licensed, open-source GraphHopper . 对于路由,您将必须使用OSM库之一 ,例如Apache许可的开源GraphHopper

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM