简体   繁体   English

使用Netbeans在Java的JPanel或JFrame中放置地图

[英]Place a Map in JPanel or JFrame in Java using Netbeans

Please can someone help me to place a map like google maps or bing maps or even other maps that you can suggest in a JPanel or JFrame. 请有人能帮助我放置Google地图或bing地图,甚至您可以在JPanel或JFrame中建议的其他地图之类的地图。

I tried the JxMapKit but it does not work and does not display the openstreetmap in the JFrame. 我尝试了JxMapKit,但是它不起作用,并且在JFrame中不显示openstreetmap。 It gives an error like it can't get the tile in johny.se something..... 它给出了一个错误,就像无法在johny.se中获取磁贴一样.....

Is it still possible to use the JxMapviewer? 是否仍然可以使用JxMapviewer? because i want to use this map for gps tracking application. 因为我想将此地图用于gps跟踪应用程序。

thanks... 谢谢...

Have a look at Terramenta , that's a java based high-end extendable map solution, should be perfect for a GPS tracker application. 看看Terramenta ,这是一个基于Java的高端可扩展地图解决方案,对于GPS跟踪器应用程序来说应该是完美的。 If you're looking for a simpler solution you could have a look at JXMapViewer2 如果您正在寻找一个更简单的解决方案,则可以看看JXMapViewer2

Hope this helps 希望这可以帮助

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

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