简体   繁体   中英

Java Application Embed Google Maps

有没有办法将Google Maps嵌入到Java桌面应用程序中?

Google Maps is a javascript-based api, so you could just embed a web view into your desktop app.

However, be aware that you will need to apply to Google for a license to do that. See the bottom of their licensing page at https://developers.google.com/maps/licensing

You can use JxMaps component, it wraps JavaScript layer and provides Java interface for interaction with Google Maps. It has MapBrowser swing component that can be easily inserted to any swing application.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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