2007-12-25

Panorama download progress

One thing difficult to do with javascript panorama is the download progress counter. For example, when you try java panoramas - on the bottom of the panorama there is a progress bar saying that 1%, 2%, 3%, ... 10% ... 20% ... 50% ... 99% ... of the image is downloaded.

With javascript that's impossible to do. But, after thinking (hard) about it, i decided to replace the loading.gif image (loading.gif) with the "compressed" thumbnail of the panorama. Now you can see how big is the part already downloaded in your local browser's memory:
loading panorama loading panorama
But, there is one drawback; now the map will be displayed only after the panorama is downloaded and displayed.

I tried it with Firefox, Opera, and IE6. Try it here.

No comments:

Post a Comment