开发者

Google Street View API V3 - tiles loaded event?

Is there an event that fires when the Street View has finished loading all 开发者_运维知识库the tiles that make up a panorama? Currently if you change the position manually (StreetViewPanorama.setPosition) the transition is rough, and there is no way to tell when the new files have all loaded. As a result, it's not possible to display a loading GIF unless it's given an arbitrary timeout such as 2 or 3 seconds.

Any ideas?


You can see all available events for a panorama here: http://code.google.com/apis/maps/documentation/javascript/reference.html#StreetViewPanorama

Have you tried using the position_changed event?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜