title: Getting the coordinates on the edges of the map in view
body: <p>I have a simple map (taken from the documentation) which is centered at a point</p>
  <pre><code>function moveMapToBerlin(map){
    map.setCenter({lat:52.5159, lng:13.3777});
    map.setZoom(14);
  }
  </code></pre>
  <p>Is there a way to get the coordinates of the edge points of the map in display? ie the coordinates of all the 4 corners? I am trying to draw a rectangle automatically from what the user can see. (Without the user having to manually get the coordinates of the corners)</p>
  <p><a href="https://i.stack.imgur.com/3ztaE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3ztaE.png" alt="Image of the map" /></a></p>