> Right, this is what I expect. The line should be removed after the
> second point,
> like in this 
> example:http://gmaps-samples.googlecode.com/svn/trunk/poly/mymapstoolbar.html

Why don't you use the enableDrawing() and enableEditing() tools, like
the example does?
All your adding and removing vertex on mousemove will go wrong,
because it takes time ; while your code is adding/removing a vertex
from one move the next mouse event will come along and start adding/
removing another.  You have nothing to stop the listener code being
started anew even if the last process is still halfway through.

-- 
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.

Reply via email to