At 12:56 PM 4/26/2010, Jacob wrote:
With the map I am currently constructing, everything works fine. I
have constructed a number of markers with functioning infowindows.
However, when I click on an marker and the infowindow opens and the
click on another completely different marker, it opens and does not
close the previous info window.
That's a feature of V3.
How may I go about doing this in the coding? I have searched at great
length and have had issues.
I use the following code which I found in a few different on-line examples:
google.maps.event.addListener(map, "click", function(){
infoWindow.close();
});
BTW, the map I'm testing is http://nnjsda.org/test/gmaps_v3_test3.php
which uses jQuery modal windows to hold the maps and jQuery tabs in
the infowindows. Since it's still being tested, there are a lot of
debugging AJAX statements to trace what's happening.
Ken
--
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.