title: How to access Google Map API v3 features loaded using loadGeoJson()
body: <p>I'm working with the Google Maps API, and trying to access the features loaded using loadGeoJson(). The documentation seems to suggest that map.data.forEach(function(feature)) should be able to loop through all of the features. But when I load data using loadGeoJson, it creates pins on the map without appearing to create any features in the data.</p>
  
  <p>Example: <a href="http://www.wittprojects.net/dev/overflow/load_no_features.php" rel="nofollow noreferrer">http://www.wittprojects.net/dev/overflow/load_no_features.php</a> 
  My code tries outputting the feature data to console.log (see below), so if you visit that page and open the developer tools you'll be able to see the various ways that attempting to access the data fails.  </p>
  
  <p>Here's my map code:</p>
  
  <pre><code>  map = new google.maps.Map(document.getElementById('map'), {
      center: {lat: 40.397, lng: 0.644},
      zoom: 6
    });
  
    var json = 'overflow.geojson';
    map.data.loadGeoJson(json);
    console.log("Logging the data features:");
    console.log(map.data.features);
    console.log("Using map.data.forEach:");
    map.data.forEach(function(feature) {
    });
    console.log("Here's the whole map object:");
    console.log(map);
  }
  </code></pre>
  
  <p>And the GeoJson it's loading: <a href="http://www.wittprojects.net/dev/overflow/overflow.geojson" rel="nofollow noreferrer">http://www.wittprojects.net/dev/overflow/overflow.geojson</a> </p>
  
  <pre><code>{  
     "type":"FeatureCollection",
     "features":[  
        {  
           "properties":{  
              "name":"Toledo",
              "traveler":6
           },
           "type":"Feature",
           "geometry":{  
              "type":"Point",
              "coordinates":[  
                 -3.9853,
                 39.8208
              ]
           }
        },
        {  
           "properties":{  
              "name":"Madrid",
              "traveler":6
           },
           "type":"Feature",
           "geometry":{  
              "type":"Point",
              "coordinates":[  
                 -3.665398,
                 40.373363
              ]
           }
        }
     ]
  }
  </code></pre>
  
  <p>Where is my data going? </p>