In my project I have a map which contains 5 different markers: I would like to add an Info Window (with a pic and some text) to each marker when you click on it with the mouse. I have tried to follow the indications on developers google maps Js api but I am not able to add the Info Window to my JS code below.
var locations = [
  ["Produkti 24", 55.807486804134314, 37.57894602052835],
  ["TZ Taganka", 55.74093035131738, 37.65759916946915],
  ["TZ Olympic Plaza", 55.780406091354706, 37.63186787199648],
  ["TZ Nautilyus", 55.75928138001903, 37.624754384813336],
  ["TZ Korabl", 55.71020266934412, 37.62031372713951],
];
function initMap() {
  var myLatLng = { lat: 55.7637079, lng: 37.6236902 };
  var map = new google.maps.Map(document.getElementById("map"), {
    zoom: 11,
    center: myLatLng,
  });
  var count;
  for (count = 0; count < locations.length; count++) {
    new google.maps.Marker({
      position: new google.maps.LatLng(
        locations[count][1],
        locations[count][2]
      ),
      map: map,
      title: locations[count][0],
    });
  }
}#map {
  height: 350px;
  width: 80%; 
  margin: 3rem auto 3rem auto;
}
.map-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.map-title {
  font-size: 2rem;
  margin-top: 1.2rem;
}<body>
 <section class="map-box" id="map-box" >
      <h2 class="map-title">Where we are</h2>
      <div id="map">
      </div>
    </section>
<script async src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBMjHKMIiZiqHCrcIOe-iH9MtiZ-FpdefA&callback=initMap"></script>
  </body> 
     
    