> OverlayListeners.push(GEvent.addListener(Map,"click",
> function(overlay,latlng) {
>           myPano.setLocationAndPOV(latlng);

Depending where you click, you may or may not get a valid 'overlay' or
'latlng' - you never get both.
   
http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMap2.click
So, if you happen to click a clickable overlay, you will attempt to
set POV using an invalid latlng.
Test it for validity before use.

-- 
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.

Reply via email to