SyntaxFix
Write A Post
Hire A Developer
Questions
Thanks to duncan answer, I end up with this:
marker.addListener('mouseover', () => infoWindow.open(map, marker)) marker.addListener('mouseout', () => infoWindow.close())