title: Google forEach map.data feature not called
body: <p>I am trying to load a GeoJSON to the google maps javascript api and then process the GeoJSON by calling map.data.forEach . I cant get the map.data.forEach function to work it seems that it is never called.</p>
  
  <p>The GeoJSON gets loaded fine and is displayed on my map.</p>
  
  <p>Any suggestions why map.data.forEach would not work here?</p>
  
  <p>Here is my code:</p>
  
  <pre class="lang-js prettyprint-override"><code>var myMap;
  
  function initialize() {
      // Create a simple map.
      myMap = new google.maps.Map(document.getElementById('map-canvas'), {
          zoom: 8,
          center: {
              lat: 48.2081743,
              lng: 16.3738189
          }
      });
  
  }
  
  function calculate(map) {
      console.log("calculating")
      map.data.forEach(function (feature) {
          console.log("tester");
      });
      console.log("end calculating");
  }
  
  function loadGeoJson(map) {
      map.data.loadGeoJson('mini.json');
  }
  
  google.maps.event.addDomListener(window, 'load', function () {
      initialize();
      loadGeoJson(myMap);
      calculate(myMap);
  });
  </code></pre>