title: How to save GeoPoint in Firebase Cloud Firestore?
body: <p>in the database UI I can create a field with the type <code>geopoint</code>. After providing values, it looks something like this:</p>
  
  <pre><code>location: [1° N, 1° E]
  </code></pre>
  
  <p>I'm trying to save this to the DB via client side SDK (web).
  Based on Twitter Feedback I tried GeoJSON, Coords Array and Coords Object:</p>
  
  <pre><code>location: [1, 2];
  location: {
      latitude: 1,
      longitude: 2,
  };
  location: {
      "type": "Feature",
      "geometry": {
          "type": "Point",
          "coordinates": [125.6, 10.1]
      }
  }
  </code></pre>
  
  <p>None of which resulted in the geopoint type in the database. They're just saved as Objects/Arrays.</p>
  
  <p>How to save GeoPoint in Firebase Cloud Firestore via the Web SDK?</p>