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 34 forks source link

added single request feature #29

Open sentd94 opened 1 year ago

sentd94 commented 1 year ago

This PR adds a new method, singleWithin, that allows users to retrieve documents near a given point as a single Future, instead of a Stream. This feature is particularly useful for users who only need to access the data once, as it simplifies the process and reduces overhead.

sentd94 commented 1 year ago

Fixes #6

kosukesaigusa commented 1 year ago

I also like the idea of enabling the package to fetch geo locations once as Future!

And actually, the package below, heavily inspired by geoflutterfire/geoflutterfire2, is released a few weeks ago with full respect!

https://pub.dev/packages/geoflutterfire_plus

https://github.com/KosukeSaigusa/geoflutterfire_plus

If you are interested, please check geoflutterfire_plus!

Of course, feature/pull requests are always welcome🙌

Sorry for the comments from outside!