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?
精彩评论