开发者

Is there a Swing component for Google Maps?

开发者 https://www.devze.com 2022-12-29 02:59 出处:网络
I would like to have support for Google Maps in my Java Swing desktop application. Is there an Google Maps component for Swing that is freely available? It would be good if it was extendable and maybe

I would like to have support for Google Maps in my Java Swing desktop application. Is there an Google Maps component for Swing that is freely available? It would be good if it was extendable and maybe had support for o开发者_开发问答ther maps i.e. like OpenStreetMaps.


You can use JXMapViewer look here http://today.java.net/pub/a/today/2007/10/30/building-maps-into-swing-app-with-jxmapviewer.html


How about JXMapViewer? Looks like it gets NASA's Blue Marble tile set by default (if you want 3D maps and Blue Marble WorldWindJava is an amazing API for mapping), but also works with OpenStreetMap. Or, looks like gmap-viewer is a project which can show you how it's done. Aerith also includes Google maps.

EDIT: Also, check out this related StackOverflow question. Looks like the FAQ, at least at that time, did not allow you to do what you want with Google Maps (OpenStreetMap, on the other hand, has desktop apps like Traveling Salesman and clearly embraces the desktop, as does WorldWind).


You can use Google visualisation library directly in java, where you can show Google Maps as you like.

Google Visualization API Gallery

0

精彩评论

暂无评论...
验证码 换一张
取 消