开发者

Tile-Overlay Animation - Bing / Google

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 tog开发者_开发问答gling 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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜