如何在Java应用程序中访问Google Maps API? [英] How to access google maps api in Java Application?

查看:334
本文介绍了如何在Java应用程序中访问Google Maps API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您如何从Java应用程序访问Google Maps API?

您可以使用 Swing-WS ,组件JXMapViewer可用,并提供与JavaScript版本类似的功能。然而,在提供的API之外访问Google tile服务器仍然是不合法的:JavaScript和Flash。



有一个问题打开来跟踪这个请求: http://code.google.com/p/gmaps-api-issues /问题/细节?ID = 1396 。它已被批准,但是谁知道它何时可用。


How do you access google maps API from a Java application?

解决方案

You can use Swing-WS, a component JXMapViewer is available and provides similar functionality as JavaScript version. However it is still not legal to access Google tile servers outside the provided APIs : JavaScript and Flash.

There is an issue opened to track this request : http://code.google.com/p/gmaps-api-issues/issues/detail?id=1396. It is approved but who knows when it's gonna be available.

这篇关于如何在Java应用程序中访问Google Maps API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆