title: How to draw a rectangular area on a large google map and query database to find locations/points that exist inside the rectangle?
body: <p>I've got an application where I would like to present the end user with a google map and allow them to select an area of the map with a simple rectangular drawing tool and then have all of the locations stored in the client's database that fall in that rectangular selection area show up as points on the map...</p>
  
  <p>I have a simple understanding of google maps and can get google maps to plot all the locations on the database w/o a problem... my problem comes in allowing the end user to draw the rectangle. Not sure how to implement this.</p>
  
  <p>Can someone explain or link me to an example of how it's done?</p>