How to unlock a listener clicks when using the drawingManager?

Good day!

Faced with the problem that when using the library drawing , not fire the event google.maps.event.addListener(map, "click", function(e){...});

Use google.maps.event.addListener(drawingManager, 'rectanglecomplete', function(e){...}) in my case is not suitable because of the need to track the number of actions at the time of drawing the figure, not after.
How to unlock a listener clicks when using the drawingManager?
Help Board !
July 9th 19 at 13:44

Find more questions by tags Google Maps