GeoFire is a library for storing and querying geographic locations and receiving realtime updates when location data changes.
GeoFire is an open-source library that allows you to store and query a set of items based on their geographic location. GeoFire uses Firebase for data storage, allowing query results to be updated in realtime as they change. GeoFire does more than just measure the distance between locations; it selectively loads only the data near certain locations, keeping your applications light and responsive, even with extremely large datasets.
GeoFire is an MIT-licensed open source project, which you can see here: https://github.com/firebase/geoFire