Hi guys, simple problem here that i cant find any decent docs for..
Need to test for an error on creating a new GStreetviewPanorama
object. I cant figure out how to do this anywhere.
This is what I want to do:
var testStreetView = new
GStreetviewPanorama(document.getElementById("street_view"));
var latlang = markerM.getLatLng();
console.log(testStreetView.setLocationAndPOV(latlang));
if(testStreetView===false){
// alert user that street view unavailable
}
Except that I'd really need a callback to get a proper response. Any
tips guys? How do i say... if(testStreetView is not returning a flash
object)... etc etc...
Cheers
James
--
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.