title: How to change position of Google Maps infoWindow
body: <p><img src="https://i.stack.imgur.com/DQgJh.jpg" alt="enter image description here"></p>
  
  <p>As the title says, how can I change the position of an infoWindow like in the image above?</p>
  
  <p>I've followed the instructions from Google. Now I want to change the infowindows position but can't figure out what to do.</p>
  
  <pre><code>function initialize() {
      var myLatlng = new google.maps.LatLng(-25.363882, 131.044922);
      var mapOptions = {
          zoom: 4,
          center: myLatlng
      };
  
      var map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
  
      var contentString = '&lt;div id="content"&gt;' +
          '&lt;div id="siteNotice"&gt;' +
          '&lt;/div&gt;' +
          '&lt;h1 id="firstHeading" class="firstHeading"&gt;Uluru&lt;/h1&gt;' +
          '&lt;div id="bodyContent"&gt;' +
          '&lt;p&gt;&lt;b&gt;Uluru&lt;/b&gt;, also referred to as &lt;b&gt;Ayers Rock&lt;/b&gt;, is a large ' +
          'sandstone rock formation in the southern part of the ' +
          'Northern Territory, central Australia. It lies 335&amp;#160;km (208&amp;#160;mi) ' +
          'south west of the nearest large town, Alice Springs; 450&amp;#160;km ' +
          '(280&amp;#160;mi) by road. Kata Tjuta and Uluru are the two major ' +
          'features of the Uluru - Kata Tjuta National Park. Uluru is ' +
          'sacred to the Pitjantjatjara and Yankunytjatjara, the ' +
          'Aboriginal people of the area. It has many springs, waterholes, ' +
          'rock caves and ancient paintings. Uluru is listed as a World ' +
          'Heritage Site.&lt;/p&gt;' +
          '&lt;p&gt;Attribution: Uluru, &lt;a href="https://en.wikipedia.org/w/index.php?title=Uluru&amp;oldid=297882194"&gt;' +
          'https://en.wikipedia.org/w/index.php?title=Uluru&lt;/a&gt; ' +
          '(last visited June 22, 2009).&lt;/p&gt;' +
          '&lt;/div&gt;' +
          '&lt;/div&gt;';
  
      var infowindow = new google.maps.InfoWindow({
          content: contentString
      });
  
      var marker = new google.maps.Marker({
          position: myLatlng,
          map: map,
          title: 'Uluru (Ayers Rock)'
      });
      google.maps.event.addListener(marker, 'click', function () {
          infowindow.open(map, marker);
      });
  }
  
  google.maps.event.addDomListener(window, 'load', initialize);
  </code></pre>