> document.getElementById("streetpicto").style.visibility = "visible"
> -> undefinedBut when are you setting that? element id='streetpicto' doesn't exist until (a short time) after the infowindow open has been executed. If you test for it immediately after opening the infowindow, it won't yet exist. If you test for it after some delay, a delay which is necessarily built-in to the asynchronous pano checking, it will exist. So I believe it should exist when the pano-error-handling code is executed. Beware - it might not exist if someone very quickly closes the infowindow again, so you do need to build in a check to see if it exists before changing it. But that's a refinement to add after the basic is working. Note what Larry said about your listener only being triggered if there is an error. -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
