To let the user start drawing a polyline you call
myPolyline.enableDrawing(). The user can finish by double-clicking the
last point.

My questions is: Is there any way to terminate drawing
programmatically?

I want the drawing to be disabled when the user clicks on another
polyline. Therefore I have added a click listener on that other
polyline, but I need way to end the polyline drawing. I wonder why
there is no method in the API for GPolyline called something like
disableDrawing()

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