Why did you post that code that has nothing to do with the question? I
don't see any deleteVertex() there.

Yes, it is true that deleteVertex() works just like you describe. If
you want to delete the fourth vertex, you have to write a function
that loops through the polygon by .getVertex(i) and saves the points
to an array. Then you can shorten the array by .pop() method and
redraw the polygon.
--~--~---------~--~----~------------~-------~--~----~
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