Andrew, I can't thank you enough :) Sorry, I should've read more carefully through your initial code, it was just one of those situations where I had a bit of a time constraint.
Thanks again, James On 6 Jul 2010, at 14:52, Andrew Leach wrote: > On 6 July 2010 14:40, James Chalmers <[email protected]> wrote: >> Thanks Andrew, >> Do you know how I could detect that error event? We've got jQuery on the >> site if that makes it any easier for you... > > I find that jQuery complicates things, actually. > > Did you look at my example and all its event handling? This appears in it: > SVP = new GStreetviewPanorama(svdiv) ; > SVP.setLocationAndPOV(SVD.location.latlng, {yaw:yaw}); > GEvent.addListener(SVP,"initialized",moveSVMap); > > Just add a listener for the "error" event on your panorama, calling a > handler function as necessary. > > -- > 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. > -- 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.
