[Google Maps API v3] listener function problem

2010-09-17 Thread b747fp
i have the following listener function to open an info window on click of a marker... however, when someone clicks a marker and then clicks another marker that has "ismulti == 'yes'" without closing the first info window, it does not load the info window... why?? google.maps.event.addListener(mark

[Google Maps API v3] multiple markers with info windows

2010-09-09 Thread b747fp
i have tried making a loop to create multiple markers and adding info windows for each marker onclick... but it fails every time... ive tried setting the infowindow object to var infowindow[i] and ive also tried setting it inside the function(){} for the onclick listener... it fails. does anyone