Does anyone have a complete code sample on how to remove the info
window for the current marker when I click outside it, or click
another info window?
I now have:
google.maps.event.addListener(marker, 'click', function () {
// where I have added .html to the marker object.
infowindow.setContent(this.content);
infowindow.open(map, this);
});
And I think I need to add something to this listener for the info
window for this marker to be closed...
Thanks!
--
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.