> Keep your circle centres and radii in an array, then loop through that
> array testing each circle.

I think that was the important part of Mike's hint.

Something like -
Plot circles and remember centres and radius
  mycentres[n] = xxx
  myradius[n] = rrr
  next circle, increment n


Test on click by looping through circles ...
For each [n]
Test if clicked point is within myradius[n] from mycentres[n]
If yes, alert ('circle' + n + 'clicked')

Take care about whether you are working in pixels or lat/longs

cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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