title: Google maps not displaying marker from a array
body: <p>I am in need of some help. I have a google maps where I used a ajax call to return lat long - In the success I made a array and passed the php result in to that array. I then instanced a google map and tired to display the marker on the map. I got no error and I can see my ajax sent though. Some help would be greatly appreciated on why my markers or not showing up. </p>
  
  <pre><code>success: function (data) {
          alert(data);
          var result = $.parseJSON(data);
          console.log(result);
          var test1 = map_data.map; //This creates a instanc of google maps
          var location_array = [];
          var tech_loc = result['Success'][0].length;
          for(var i=0; i &lt; tech_loc; i++){
              location_array.push(
                  {
                      "lat": result['Success'][0][i][0],
                      "lng": result['Success'][0][i][1]
                  });
          } console.log(JSON.stringify(location_array));
  
          var marker = new google.maps.Marker({ //This places a marker on the map
              position: location_array,
              map: test1
          });
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/2g9Tj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2g9Tj.png" alt="enter image description here"></a></p>