On Apr 17, 3:00 pm, Mugabe <[email protected]> wrote:
>
> I was just looking through the code for this example, and I can't
> understand why the "GEvent.addListener(map, "click", function
> (overlay,point)" only works for clicking outside the polygon.

It works wherever the click happens. Exactly what happens depends on
where the click is and whether there is an overlay passed to the
handler function.

If there isn't an overlay, the map's infoWindow is opened at location
"point". If there is an overlay, nothing in that event handler is
done.

Andrew
--~--~---------~--~----~------------~-------~--~----~
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