On Jul 20, 7:22 am, Lilia <[email protected]> wrote: > Here is a link:http://pr107m.psur.utk.edu/~lilia/gmap/production/ > > When a user clicks a building/department on the left, I need an > infowindow for that location to be open, and all others to be > closed.Each infowindow has its own description/location. The > infowindows are created within a loop because the description/location > comes from a database. Right now, each time a user clicks a radio > button, an infowindow opens and none close. > > When I use one instance of an infowindow, all infowindows have the > same content/location AND they don't close. When I am creating an > infowindow for each marker, all infowindows display the correct > content/location but still they don't close. > > I'm including the code for the Building Locator here because the map > is powered by php:
A link to the map would be better... > If I can't get one window to open at a time, and it remains that there > are multiple infowindows open--a button that closes all of them at > once would be satisfactory for now. > > I've been doing everything I can think of and searching everywhere I > can think of to find a solution. > > Any sort of help would be hugely appreciated. Is this the functionality you are looking for: http://www.geocodezip.com/v3_markers_infowindows.html http://www.geocodezip.com/v3_markers_normal_colored_infowindows.html or this Mike Williams' tutorial that I translated to v3: http://www.geocodezip.com/v3_MW_example_map3.html -- Larry -- 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.
