I am not sure if I am not using the enableDrawing and disableEditing incorrectly, or if there is a bug. After reading through the group, it looks like using disableEditing is the preferred way to programmatically terminate the drawing of a polygon.
When I use disableEditing to stop drawing, the last vertex of the polygon becomes a phantom. The polygon draws fine, but when editing is turned back on the closing line of the polygon is missing the intermediate node, and the last vertex is not editable. If the points "around" the last vertex are moved, the last vertex is removed from the polygon completely. Here is a simple example page. Click the start drawing button, lay down a few vertices, and then click the disable editing button. On mouseover, the polygon is editable again, except for the last vertex and the closing segment. http://www.hallick.com/apitest/polygondraw.htm I am testing this in Firefox 3.0.10. (I cannot get polygon drawing working at all in my IE, but I will worry about that later.) 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 at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
