title: Geofencing with Google Maps
body: <p>I'm trying to let people draw a rectangle on Google Maps and store the bottomLeft and topRight coordinates.</p>
  
  <p>I know I can draw a Rectangle codewise (see: <a href="http://code.google.com/intl/nl-NL/apis/maps/documentation/javascript/reference.html#Rectangle" rel="nofollow">http://code.google.com/intl/nl-NL/apis/maps/documentation/javascript/reference.html#Rectangle</a>), but before i can load the bounds from my DB the people need to define it themself first off course :)</p>
  
  <p>So my question is, how can I let people draw a rectangle on Google Maps (API v3) and store the coordinates of the bottomLeft and topRight corner?</p>