codice:marker = new google.maps.Marker({ position: new google.maps.LatLng(markers[i][1], markers[i][2]), map: map, content: markers[i][0] }); google.maps.event.addListener(marker, 'click', function(){ infowindow.setContent(this.content); infowindow.open(map, this); });

Rispondi quotando