How can I listen for the start of a user drawing a polygon in Google Maps v3?
问题 There's a polygoncomplete event that is fired, but I'm looking for a polygonstart event. Even an overlaystart event would work for me. When the user starts to draw a polygon, I want to remove any existing polygon on the map. Currently, I have that functionality implemented using the polygoncomplete event. It needs to happen at the start though. My pseudocode thought is to... Listen to click events on the map. onclick, check to see which drawing tool is selected (if that's possible). If