在Google桌面应用程序中嵌入谷歌地图 [英] Embed google maps in Java desktop Application
问题描述
我想将Google地图嵌入到JPanel中。因为我想要放大/缩小的功能,所以使用静态图像是不可行的。为了达到这个目的,我可能需要嵌入一个网页(它显示谷歌地图)在我的Java桌面应用程序。我已经读过,我需要像WebKit(替代品?)来实现这一目标。
我很感谢任何帮助我的帮助:
- 将网页嵌入到Jpanel中。
- 显示Google地图的网页。
是的,Google Maps API现在可以在桌面应用程序中使用
查看这些Stack Overflow主题:
你也可以看到 tutorail 。 I want to embed google maps on a JPanel. Since I want features like zoom-in/out, using static images isn't feasible. To achieve this, I'll probably need to embed a webpage (which displays google maps) in my Java desktop application. And I've read that I'll need something like WebKit (alternatives?) to accomplish this. I'd appreciate any help that'll help me:
Yes, the Google Maps APIs can now be used in Desktop applications Check out these Stack Overflow threads: Embedding Gecko/Webkit in Java Rendering webpages with WebKit in Java You can also see the tutorail of using Maps in Java Desktop Application. 这篇关于在Google桌面应用程序中嵌入谷歌地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!