> For some strange reason the if statement (line 480) in the source code > of the link works, how ever if I was to change "if (errorCode == 600)" > to if "(errorCode == 200)"and make the lat and lang point a location > of streetview avalability, it refuses it run that if statement when > true. > > Does anyone know why this is happening?
There isn't a panorama error code 200. They're listed here - http://groups.google.com/group/Google-Maps-API/browse_thread/thread/ed877e4a6a6e7ca9/246a052d96f2e798?#246a052d96f2e798 it's a very short list. There are no success codes, because you get a Streetview object if its successful ... Then, the listener you have added is for errors - GEvent.addListener(myPano, "error", handleNoFlash); it doesn't even get triggered in the case of success. > Link:http://nwbeta.itproz.co.uk/property-details.html?pid=NBS01_14725&typ=... That won't render at all in IE6, it may be the script before the head. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
