Re: poly.deleteVertex(0);
On May 12, 9:18 pm, cjs <cjsee...@gmail.com> 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 google-maps-api@googlegroups.com.
> To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
> 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 google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home