title: Google Map: Dynamic Array generation javascript
body: <p>Can any one please advice me, that, i need to generate an array dynamically for google map...
  I have a <code>lat</code> and <code>long</code> values from my Database. here i would like to built an array with those values like...the below one.</p>
  
  <pre><code>var store_locations = new Array();
  store_locations = [ 
       new google.maps.LatLng(39.112456,-84.574779),
       new google.maps.LatLng(39.314153,-84.261379),
       new google.maps.LatLng(39.197099,-84.667579),
       new google.maps.LatLng(39.16836,-84.479381)
     ];
  </code></pre>
  
  <p>The inner part of the square bracket should be dynamic. please advice.</p>