beerstorm-net / GeoFlutterFire2

🔥GeoFlutterFire2🔥 is an open-source library that allows you to store and query firestore documents based on their geographic location.
https://pub.dev/packages/geoflutterfire2
MIT License
14 stars 40 forks source link

Distance from the centerpoint is missing #30

Open SherpaMiguel opened 1 year ago

SherpaMiguel commented 1 year ago

Distance from the centerpoint is calculated correctly but when object is mapped from distanceDocSnapshot to documentSnapshot, distance property is lost.

Line 144 of collection.dart return filteredList.map((element) => element.documentSnapshot).toList();

dannycortesv commented 1 year ago

Yes, distance is missing on the results