spite / GSVPano.js

Google Street View Panorama Util

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error loading handling

inear opened this issue · comments

Had some troubles yesterday with fault urls when loading panos that causes the load-complete callback to fail. Thought it was a quota-problem but it was the _count that did not get updated when a pano failed to load. I don't know why it wasn't a problem before. Maybe it's some changes with the response on faulty requests. In my examples I added a onerror event that increase the _count and also checked if it was the last one. Thought you might want to know the demos are broken even though this repo is empty.