Ah, that would explain it.  The overlay that appears to be laying on top of
it is a GPolygon.  I'll have to look into setting that so it is not
clickable.

On Thu, May 27, 2010 at 5:56 PM, Rossko <[email protected]> wrote:

> > 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]<google-maps-api%[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.

Reply via email to