You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great library, my objective is to list out the records based on the nearest to farthest based on the current location and I don't want it to limit with any radius.
how can I achieve this?
The text was updated successfully, but these errors were encountered:
@sagark1510 unfortunately the purpose of this package is to query locations near a center point. A filter is kinda the point. Otherwise for what you're trying to do I'd say do the following:
Use regular Firestore to query all locations
Add a distance field to the returning docs (I have a package called geokit which you can install on NPM, it has a static function called distance, see it in use here)
Just apply a sort to the array of objects, like here
Great library, my objective is to list out the records based on the nearest to farthest based on the current location and I don't want it to limit with any radius.
how can I achieve this?
The text was updated successfully, but these errors were encountered: