我正在开发一个应用程序并正在尝试
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/