title: Export geoJSON data from Google Maps
body: <p>Is there built-in support or any library to export <code>geoJSON</code> data from the <code>google.maps.Data</code> layer or <code>google.maps.Data.Feature</code> or <code>google.maps.Data.Geometry</code> or even using <code>Marker</code>,<code>Polyline</code> and <code>Polygon</code>.I have code like this,for example:</p>
  
  <pre><code> var point=new google.maps.Data.Point(m.getPosition());
   activeFeature.setGeometry(point);
   console.log(activeFeature.getGeometry());
   equiLayer.add(activeFeature);
  </code></pre>
  
  <p>I would like to export this data to the server as geojson.Something like the <code>toGeoJson</code> method in <code>leaflet</code>?</p>