Anyone have an easy way to determine which vertex should be used for inserting a LatLng with poly.insertVertex?
I can find the closest vertex easily but then I'm a little bit stuck trying to figure out which segment the point belongs to. Is the point returned by the handler guaranteed to be on the poly (ie. snap to Poly)? It doesn't look like any of the mouseover listeners return anything other than the polyline (i.e. Not the segment). Is everyone rolling their own code or am I missing something in the API? Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
