java - JXMapViewer 混搭示例

标签 java swing openstreetmap netbeans-7 jxmapviewer

我正在开发一个应用程序并正在尝试

http://today.java.net/pub/a/today/2007/11/13/mapping-mashups-with-jxmapviewer.html

但是在尝试如图 8 所示时,我陷入了困境,因为 WikiWaypoint 类不在我的 jar 文件中...... 请帮忙。

请询问您是否需要任何澄清。

最佳答案

您引用的文章包含您的答案:

For each entry the code creates a WikiWaypoint, which is just a subclass of Waypoint with an extra field to store the title of the entry

所以它基本上是他创建的一个类,从 Waypoint 类扩展,并添加了一个额外的字段。因此,您必须自己创建该类,而不是试图在任何 jar 中找到它

关于java - JXMapViewer 混搭示例,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9402131/

相关文章:

java - 使用 BaseAdapter 删除 ListView 中的项目

java - 如何用简单的文本创建 JFrame?

leaflet - 如何为传单下载 map 图 block ?

java - Java 类中的 static Final BigDecimal

java - 无法访问 OrientDB plocal 数据库。文件 '.ocf' 被另一个进程锁定

java - 在项目文件夹中找不到 json 文件

Java 单线程聊天应用程序

java - 从 "Filthy Rich Clients"开始理解Swing代码

AngularJS osm 传单 - 拒绝访问图 block

javascript - 如何在 React Native 中集成 Open Street map ?