I probably should have added that the polygon is being created from
encoded polylines, not from arrays of GLatLng. The code that does the
encoding is the same code that I use for the polylines on which this
works.


On Nov 17, 1:44 pm, Andrew1978 <[EMAIL PROTECTED]> wrote:
> I've got the following code:
> GEvent.addListener(someOverlay,"click",function(position) {
>                 alert("Hello Wold");
>             });
>
> I know it is being executed (the addListener call) thanks to the
> javascript debugger.
>
> This code works for both polylines and plain old markers. It does not
> seem to work when someOverlay is a polygon.
>
> Am I missing something?
--~--~---------~--~----~------------~-------~--~----~
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