(I worked on the GeoFire library)
GeoFire converts the latitude-longitude coordinates of a data point to its geohash, and stores the data in Firebase at the geohash. The properties of geohashes and Firebase play nicely together to make it easy to implement localized search and location querying.