title: Trying to plot the markers on google map using GeoJSON
body: <p>I am trying to print markers on "google maps" using "geojson" for a  given input coordinates.Below attached is the JSON file.</p>
  
  <pre><code>{
   "type": "FeatureCollection",
   "features":[{
    "type":"Feature",
     "geometry":
      {
      "type":"Point",
      "coordinates":[-117.7431667,35.9595,0.01]
      }
      }
       ]
  </code></pre>
  
  <p>My Specific problem is i  got 3  parameters in the "coordinates" section  present.I have referred to couple of examples where the "coordinates" have got two parameters.</p>
  
  <pre><code>var map;
  function initialize() {
       map = new google.maps.Map(document.getElementById('mapDisplay'), {
        zoom: 8,
        center: new google.maps.LatLng(44.5403, -78.5463),
        mapTypeId: google.maps.MapTypeId.ROADMAP
  
      });
  
      $("#button3").click(function(){
  
      $.get("http://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&amp;starttime=2015-10-14&amp;endtime=2015-10-21",
         function(data,status){
         console.info("test");
         $.each(data.features, function (i, obj) {
            $.each(obj.geometry, function (ind, obj) {
                  if(ind=="coordinates")
                      console.log("key:" + ind + " value:" + obj);
                      var coords = obj;
                      var latLng = new google.maps.LatLng(coords[2],coords[1],coords[0]);
                      var marker = new google.maps.Marker
                      ({
                      position: latLng,
                        icon: iconBase + 'schools_maps.png',
  
                         map: map
  
                     });
  
  
            });
         });
     });
  });
   }
  google.maps.event.addDomListener(window, 'load', initialize);
   });
  &lt;/script&gt;
  &lt;body&gt;
  &lt;div id="mapDisplay"&gt;
  &lt;/div&gt;
  &lt;div id="button_Display"&gt;
  &lt;button id="button1"&gt;Sesimic Events last week&lt;/button&gt;
  &lt;/div&gt;
  &lt;div id="Sesimic_Events"&gt;
  &lt;button id="button2"&gt;Places affected&lt;/button&gt;
  &lt;/div&gt;
  &lt;div id="markers"&gt;
  &lt;button id="button3"&gt;GoogleMarkers&lt;/button&gt;
  &lt;/div&gt;
  &lt;div id="result"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p></p>
  
  <p>Any help would be highly appreciated.
  Below attached is the screenshot of the output   i got when i ran "googlemarkers" button<a href="https://i.stack.imgur.com/aTYFA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aTYFA.png" alt="Console.logs while running google markers button"></a></p>