问题
I know Cloud Firestore stores locations based on latitude and longitude in Geopoints. However, I can't find a method or a way documented to query documents based on the distance to a certain point, kind of what GeoFire does for the Realtime database.
Is there a way to achieve that?
回答1:
It's something we're looking into, but isn't supported at this time.
来源:https://stackoverflow.com/questions/46579698/is-the-new-cloud-firestore-able-to-query-based-location-distance