title: Get Lat Lng when drawing a polygon with Google Maps drawing tool
body: <p>I got the Google Map and Drawing Tools displayed on the map. I can draw the shapes (circle, polygon, rectangle ...)  on the map. For the start I am using the example code from Google Maps JavaScript get started page: <a href="https://developers-dot-devsite-v2-prod.appspot.com/maps/documentation/javascript/examples/drawing-tools" rel="nofollow noreferrer">https://developers-dot-devsite-v2-prod.appspot.com/maps/documentation/javascript/examples/drawing-tools</a></p>
  
  <p>I was able to find a lot of examples on have to draw/make a shape object by providing all the properties and LatLng.</p>
  
  <p>How do I get a LatLng for the shape that I just draw by using one of the drawing tools form Drawing Tools toolbar? </p>
  
  <p>I am planing to make an application which will allow user to draw shapes on the map and save the LatLng in to database (i will be using MySql), so later the shape can be displayed again on the map as per request. 
  Please help.</p>