On Apr 1, 8:17 am, Gogi <[email protected]> wrote:
> Hi together
>
> I got a map and draw some circles on it. Those circles (own objects)
> are saved in an Array. Now I would like to know when there was a click
> on one of the circles and on which(!) one.
>
> With
>
> GEvent.addDomListener(this._polygon, "click", function(overlay, event)
> {
>             this.click();
>         });
>
> ... i can found out that there was a click on an object, but I cant
> find out on which one. Is there a way to do that?
>
> If this is the completly wrong way, how can I find out on which circle
> there was a click in another way.
>
> I googled the whole afternoon and didnt find anything about this...
> just some examples with only one circle, but not with more than one
> circle.
>
How about this thread?
http://groups.google.com/group/Google-Maps-API/browse_frm/thread/945eef2ebed3e752/e9ece7e51443b529?lnk=gst&q=polygon+geocodezip+clickable#e9ece7e51443b529

Which leads to this example:
http://www.geocodezip.com/overlappingPolygonsNoStroke.asp

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