title: How to display markers from firestore using JS?
body: <p>I'm trying to display markers from Firestore, but nothing happens. 
  Every solution that I found had coordinates stored like this so I think that the problem might be in the marker position in my code, but I don't know how to fix it.</p>
  
  <p><a href="https://i.stack.imgur.com/Li8i2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Li8i2.png" alt="enter image description here"></a></p>
  
  <p>This is what my Firestore looks like
  <a href="https://i.stack.imgur.com/qxFtf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qxFtf.png" alt="https://gyazo.com/1e8ce3184c787cc6fb3aea1a99e7b9f6"></a></p>
  
  <p>and my code for displaying markers.</p>
  
  <pre><code>function initialize() {
          var latlng = new google.maps.LatLng(58.2600006, 22.5297743);
          var myOptions = {disableDefaultUI: true, zoom: 9, center: latlng, mapTypeId: google.maps.MapTypeId.ROADMAP };
          var map = new google.maps.Map(document.getElementById("map"), myOptions);
          firebase.firestore().collection('markers').get().then((snapshot) =&gt; {
              snapshot.forEach(function(child) {
                  console.log(child);
                  var marker = new google.maps.Marker({
                      position: {lat: parseFloat(child.lat), lng: parseFloat(child.lng)},
                      map: map,
                  });
              });
          });
      }
  </code></pre>