title: Determine if Lat/Lng in Bounds
body: <p>I'm interested in determining if a lat/lng location is within the bounds and looking for recommendations on a algorithm. (javascript or php)</p>
  
  <p>Here is what I have so far:</p>
  
  <pre><code>var lat = somelat;
  var lng = somelng;
  
  if (bounds.southWest.lat &lt; lat &amp;&amp; lat &lt; bounds.northEast.lat &amp;&amp; bounds.southWest.lng &lt; lng &amp;&amp; lng &lt; bounds.northEast.lng) {
       'lat and lng in bounds
  }
  </code></pre>
  
  <p>will this work? thanks</p>