There is a map on it, there is a function that displays the name or something else. But in order to display the marker window, you need to click on it. You can do something like an auto display of the window so that it always shows

var marker = new google.maps.Marker({ position: uluru, map: map, title: 'Uluru (Ayers Rock)' }); marker.addListener('click', function() { infowindow.open(map, marker); 
  • one
    infowindow.open(map, marker); not on click - and it will seem - Grundy
  • Yes, it worked. I removed the window showing from the listener) Thank you - elik

0