📅  最后修改于: 2022-03-11 15:03:05.134000             🧑  作者: Mango
marker.addListener('mouseover', function() {
infowindow.open(map, this);
});
// assuming you also want to hide the infowindow when user mouses-out
marker.addListener('mouseout', function() {
infowindow.close();
});