📜  谷歌地图信息窗口悬停 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:03:05.134000             🧑  作者: Mango

代码示例1
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();
});