💚 This is the latest document.
Hide the infoWindow of the marker.
<div id="map_canvas"></div>
var div = document.getElementById("map_canvas");
var map = plugin.google.maps.Map.getMap(div);
var marker = map.addMarker({
'position': {
lat: 0,
lng: 0
},
'title': "Click me!"
});
// Show the infoWindow
marker.showInfoWindow();
// Catch the MARKER_CLICK event
marker.on(plugin.google.maps.event.INFO_CLICK, function() {
// Hide the infoWindow
marker.hideInfoWindow();
});