平铺叠加动画 - Bing / Google

发布于 2024-10-09 19:56:00 字数 228 浏览 0 评论 0原文

我创建了一个图块集,该图块集每 10 分钟过期一次。不过,我希望能够显示过去 50 分钟的周期(我所存储的图块)。

我知道在 Google 地图 2.0 中,您可以通过打开/关闭地图图块来做到这一点,但是 google 3.0(因为它已被移动)似乎没有一种我迄今为止发现的真正干净的方法来做到这一点。

有没有好的方法可以使用您见过/使用过的 google 3 或 bing 来完成此操作?

干杯

I've created a tile set, and this tile set expires every 10 mins. However I want to be able to show a cycle of the past 50 mins (of stored tiles i have).

I know with Google Maps 2.0 you can do this with toggling the map tiles on / off, however google 3.0 (since it's mobilized) doesn't seem to have a real clean way of doing this that I've found so far.

Is there a good way to do it with either google 3 or bing that you've seen/used?

Cheers

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

清风疏影 2024-10-16 19:56:00

该问题可能是因为切片被缓存了。尝试将时间戳附加到图块 URL 的末尾。当您想要更改图块时,请更新时间戳,然后关闭图层然后再打开。我已经以这种方式更新了 google v2/v3 和 bing 6.2 磁贴叠加层,没有任何问题。

The issue is likely because that tiles are cached. Try appending a timestamp to end of the tile's url. When you want to change the tiles, update the timestamp then turn the layer off then on. I have updated google v2/v3 and bing 6.2 tile overlays in this manner without any issues.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文