本地存储的 Google IO 会议地图之类的版本?
这里有一个漂亮的 Google IO 2010“互动会议地图”: http://www.google.com/events/io/2010/map/ #level1
注意叠加层和有用的布局。它在移动设备上也运行良好。
我想做同样的事情,但不是 GMap 每次平移或缩放时都加载新图块,而是希望预先缓存所有图块。这也意味着它不需要数据连接。
有人告诉我,预先缓存图块违反了 GMaps 服务条款,但无法确定。如果这违反了他们的服务条款,我想知道是否有人找到了另一种方式(另一种服务),例如使用 OpenStreetMap。
There is a beautiful "Interactive Conference Map" for Google IO 2010 here:
http://www.google.com/events/io/2010/map/#level1
Notice the overlays and useful layout. It works well on mobile devices too.
I want to do the same thing, but instead of GMaps loading new tiles every time it is panned or zoomed, I want to have all the tiles pre-cached. This also means it wouldn't need data connection.
Someone told me it was against GMaps Terms of Service to pre-cache the tiles, but have been unable to find out for sure. If it IS against their terms of service, I wonder if there is another way (another service) someone has found, e.g. using OpenStreetMap.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您要进行自己的图块叠加,那么您当然可以缓存您的图块。不过,缓存 Google 的图块可能不是一个好主意。请参阅如何缓存 Google 地图图块以供离线使用? 了解一些详细信息以及一些试图使之成为可能的项目的链接。
If you're doing your own tile overlay, then you can certainly cache your tiles. It's probably a bad idea to cache Google's tiles, though. See How to cache Google map tiles for offline usage? for some details and also some links to projects that are trying to make it possible to do this anyway.