On May 12, 9:18 pm, cjs <[email protected]> wrote: > poly.getVertexCount() tells me that there are 7 verticies, so it > would seem that the following should delte all of them > > poly.enableEditing(); > poly.deleteVertex(0); > poly.deleteVertex(1); > poly.deleteVertex(2); > poly.deleteVertex(3); > poly.deleteVertex(4); > poly.deleteVertex(5); > poly.deleteVertex(6); > poly.deleteVertex(7); > > However, what I am left with a a V shaped polyline consisting of the 3 > verticies.
That sounds like the behavior I remember being discussed: http://groups.google.com/group/google-maps-api/search?group=google-maps-api&q=.deleteVertex&qt_g=Search+this+group > How to I get rid of the entire polyline so that i can > start to redraw it? delete it and create a new one? -- Larry > > 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 > athttp://groups.google.com/group/google-maps-api?hl=en. -- 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.
