poly.deleteVertex(0);
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. How to I get rid of the entire polyline so that i can
start to redraw it?
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 at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home