title: Remove Google Map geojson polygon
body: <p><strong>How to remove previous data when loading new data?</strong></p>
  
  <pre><code>var map = null,
      drawLayerSite = null;
  
  map = new google.maps.Map(document.getElementById('mapDiv'), {
      zoom: 11,
      // mapTypeId: 'satellite'
      mapTypeId: 'terrain'
  });
  
  function reloadGeoJson(geoJson) {
      map.data.forEach(function(feature) {
          map.data.remove(feature);
      });
  
  
      drawLayerSite = new google.maps.Data({map:map});
      drawLayerSite.setStyle({
          fillColor:    'rgba(1, 84, 90, 0.5)',
          fillOpacity:   0.5,
          strokeWeight:  1,
          strokeColor:   '#01545A',
          strokeOpacity: 0.8
      });
      drawLayerSite.addGeoJson(geoJson);
  }
  </code></pre>
  
  <p>When the data is loaded the second time, the old ones remain. They are not removed.</p>
  
  <p>Map features are empty.</p>