title: How to insert dynamic values in Array of object
body: <p>I have an array of object with static values. This array of the object is used in EON Map for real-time tracking. I want to add values in this array dynamically I mean using a loop from the database. </p>
  
  <p>Please suggest me how can I put my dynamic values in this array?</p>
  
  <pre><code>var torchys = [
      {
          latlng: [30.370375, -97.756138]
      },
      {
          latlng: [30.323118, -97.739144]
      },
      {
          latlng: [30.302816, -97.699490]
      },
      {
          latlng: [30.293479, -97.742405]
      },
      {
          latlng: [30.250337, -97.754593]
      },
      {
          latlng: [30.236689, -97.762730]
      }
  ];
  </code></pre>