It took me a while to figure this one out although it was staring me
in the face in the API reference.
After opening an InfoWindow, to close the InfoWindow by clicking on
the map in v2 of the API, there was a noCloseOnClick to be changed
when creating the marker.
This is how it is done in v3.
google.maps.event.addListener(map, 'click', function() {
infoWindow.close();
});
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.