用于 GWT 的静态 Google 地球地图
I am currently working on a project that uses a Google Earth API library that is wrapped in java so that one may use this library in the Google Web Toolkit to make a Google Earth Widget. I was wondering if you could get a static implementation or static instance of the Google Earth map so that the user can view this page offline. I would really appreciate if anyone who has knowledge about this could get back to me as soon as possible. If it is possible to do so, I hope to work with the developer of the library to include this implementation in a future release of the library. I know that in the desktop application, one can cache the map for offline use. If it is not possible to obtain a static map then I would like to know if you could cache the map on the user's computer for offline use.
Thanks,
MPH
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有静态地图 API。不过,我不完全确定在这种情况下“离线查看页面”是什么意思。
There's the Static Maps API. I'm not entirely sure what you mean by "view page offline" in this context, though.
我想我已经找到了一个可行的解决方案。我目前正在使用带有开放街道地图服务器的 gwt 包装版本的 openlayers。如果我在自己的计算机上本地提供来自 OSM 的图像图块,这应该允许我能够使我的项目离线。这样我就可以在本地调用图块并在需要时更新服务器。唯一的缺点是服务器的内存可能会变得很大,并且它只会根据您下载到服务器的内容调整地图:/
I think I have found a viable solution. I am currently using a gwt-wrapped version of openlayers with an open street map server. This should allow for me to be able to take my project offline if I serve the image tiles from OSM locally on my own machine. That way I can just call the tiles locally and just update the server when needed. The only drawback is the server can become quite large in memory and it only adjusts the map to what you have downloaded to the server :/