suiko1984 / geofirestore-android

GeoFire for Android - Realtime location queries with Firebase Cloud Firestore
13 stars 4 forks source link

How to use setCenter and setRadius #10

Closed zoro238 closed 4 years ago

zoro238 commented 4 years ago

A possible example explains how to use the method setCenter and setRadius Because I want him to give us near within 10 kilometers

zoro238 commented 4 years ago

and explains

\ Updating the query criteria

The GeoQuery search area can be changed with setCenter and setRadius. Key exited and key entered events will be fired for keys moving in and out of the old and new search area, respectively. No key moved events will be fired; however, key moved events might occur independently.

Updating the search area can be helpful in cases such as when you need to update the query to the new visible map area after a user scrolls.

suiko1984 commented 4 years ago

Hi @zoro238 , thanks for the suggestion. I will add your description in the next update :)

zoro238 commented 4 years ago

thank you ,I hope you add How do I know how many people are in range? And when the next update .. Thank you for your patience and speed of your response