title: I want to make an array of hashes from two value arrays
body: <p>I have two arrays. One array contains longitudes, the other array contains latitudes.</p>
  
  <p>I need to create an array of hashes called markers. Each marker will have a key latitude and a corresponding value. It will also have a key longitude and a corresponding value. How do I create an array of hashes from the both arrays. </p>
  
  <p>I am very stuck so any help would be greatly appreciated</p>
  
  <p>My code is below </p>
  
  <pre><code>array_of_lon = [162.143815475374, 168.950878940823, 3.64965696346187, -167.21528146934, 177.219093253956]
  
  array_of_lat = [7.07533432185069, -71.1633951653961, 83.684201546539, -41.7868611360175, 22.3943085903501]
  
  array_of_markers_hashes = []
  
  
  
  
  </code></pre>