title: Google maps v3 Infowindow is not working
body: <p>I have following JS Code to make Google map markers and i also try to make infowindow on each marker but through my code infowindow is not opening here is my code</p>
  
  <pre><code>for(i=0; i&lt;GPS.length; i++)
      {
  
            var image = 'ico/no.png';
            var infowindow = new google.maps.InfoWindow();
            var ContentString = GPS[i].TITLE
            markers[i] = new google.maps.Marker(
            { 
             position: GPS[i].GPS,
             map: map,
             draggable:true,
             icon:image,
             title:GPS[i].TITLE
             });                       
  
              google.maps.event.addListener(markers[i], 'click', function() {
              infowindow.setContent(ContentString);
              infowindow.open(map,markers[i]);
              });
  
  
      }    
  </code></pre>