By reading the documentation http://code.google.com/apis/maps/documentation/reference.html#GPolyline I'm pretty sure, that there is no means by which you're getting called back _while_ drawing a polygon or a line. You may just capture a click _into_ the covered area, after you have drawn it.
Also you should change your addpoint(index); call to addpoint(latlng); then you'll get your coords when clicking into the area. HTH Regards > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
