android - How to find and retrieve nearby latitude and longitude values stored in a Firebase database? -


i developing android app users sign , store current location on firebase database. i'm looking display location of nearby users on map taking latitude , longitude of user , using through firebase database , find users live nearby (within radius).

i'm trying order latitudes , longitudes in database, store them, , somehow loop through them find ones near user's location. seems inefficient way go database can become quite big more , more users.

is there way can find out how many latitudes , longitudes fall within radius centered around user's current location?


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -