I hav a similar issue. I'm trying to use an info window to get parcel infromation, but i want to be able to use the measure tool when i need to WITHOUT the infoWindow poping up. My idea around this was to simply change my 'onClick' event to 'onDblClick' to call the function for the infoWindow. That way i can single click when using the measure tool.
The problem is that when i Double Click on the map it just zooms in to that location, no infoWindow is displayed.
I've added map.disableDoubleClickZoom(); to my init() code but that doesn't seem to do any good because the map still zooms in and still DOESNT call my infoWindow