On Sep 2, 5:36 pm, "d...@mausner" <[email protected]> wrote:
> But if we assume that a map starts off in drawing mode, and I wish to
> stop drawing, in response to a button click , without asking the user
> to click a point on the map, how can I do this?

poly.disableEditing();

>
> Finally, what if no vertex has been created yet, and we wish to
> disable drawing (this generates a "cancel line" event)?  What should
> we do in this case?

map.removeOverlay(poly);


--
Marcelo - http://maps.forum.nu
--

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