On Oct 21, 3:13 pm, Martin <[EMAIL PROTECTED]> wrote: > For me poly.getVertexCount() is not a problem. > > The only problem is: if try to add poly0.deleteVertex(2) with firebug > on follow code I don't see a triangle but I see again a polygon with 4 > vertexes. > > This is the code (in code of my fiest post there is a stupid bug):
Please provide a link, not code. For example: http://andrew.leach.1.googlepages.com/location.htm has a rectangle drawn on it. I did that page for click-handling, but it suffices here. Type into the address bar: javascript:poly.deleteVertex(2); and see a triangle. It does work. However javascript:alert(poly.getVertexCount()); still returns 4. Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
