Questions tagged [geofire]

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

Related tags

576 questions
3
votes
1 answer

How to display animated driver cars on the map in an app

My database In the above tree I have stored the current latitude and longitude of the driversAvailable. If there are multiple drivers present under driversAvailable tree then how can I show all of them on the map? I have written following code till…
3
votes
0 answers

GeoFire Won't Stop Pulling Data

For some reason when I use GeoFire to pull events it never seems to stop pulling events. I noticed when I left my computer for a little and came back and my array had 1000 elements in it. static func showEvent(pageSize: UInt, lastPostKey: String? =…
Ron Baker
  • 381
  • 6
  • 16
3
votes
2 answers

Conflicts with FlutterFire and native GeoFire plugin on iOS

I'm getting an error when I'm trying to add GeoFire to my iOS Flutter project which has the FlutterFire Database plugin included. This is what the error looks like: Resolving dependencies of `Podfile` [!] Unable to satisfy the following…
Bram Vanbilsen
  • 5,763
  • 12
  • 51
  • 84
3
votes
1 answer

GeoFire + Swift 3 can't stop observing

I'm using GeoFire and trying to fetch only 3 results that satisfy some conditions. This it my case and it doesn't stop observer. There are several thousands results and I get it all but I need only 3. I based on this answer but it does't work in my…
Yura Buyaroff
  • 1,718
  • 3
  • 18
  • 31
3
votes
0 answers

GeoFire warnings with Firebase 4.0 - Empty paragraph passed to '@return' command + other

I had zero warnings, then I updated to Firebase 4.0 now I have two warnings within GeoFire that won't go away. Warnings .../Pods/GeoFire/GeoFire/API/GeoFire.h:108:11: Empty paragraph passed to '@return'…
Luke Stanyer
  • 1,404
  • 12
  • 21
3
votes
1 answer

Can't initialize a geofire object in typescript

I'm working with the ionic-framework version 2 and typescript. Last week I integrated Firebase in my app, which worked fine. Now I want to integrate geofire too, but I can't initialize an instance of a geofire object. My MainSearchPage class: import…
L1N51
  • 31
  • 3
3
votes
2 answers

Using GeoFire queries in Swift does not give useful output

I'm pretty desperate right now because I'm trying to use GeoFire on my Firebase Database to find nearby users. I'm pretty much stuck for two days now. I searched Google and stackoverflow a lot and tried everything I found there but without any…
3
votes
0 answers

How to retrieve users from specified radius in GeoFire?

I have an android app which shows user's markers in nearby location to mine with specified radius. For example: I set radius on 1 km, and I would like to retrieve all users which are in this radius. At now, on a map I have markers but I would like…
gryzek
  • 537
  • 9
  • 25
3
votes
1 answer

What's causing lag between observable returning result and displaying result in browser?

I'm using Angular 2 and GeoFire to display nearby professionals in an area. I created a service to use GeoFire to return an observable of a list of professionals, but I'm getting a massive delay between getting that list and having it…
RedFour
  • 43
  • 5
3
votes
0 answers

GeoFire doesn't return any result

I'm running into issues with GeoFire. First, per the documentation on the Geofire github page I cannot install the cocoapod. After searching, I found that the correct way to set the podfile is: pod 'GeoFire', :git =>…
Buyin Brian
  • 2,781
  • 2
  • 28
  • 48
3
votes
1 answer

Retrieving Keys From GeoFire within Radius in Swift

I have the following Firebase Database JSON data structure: { "Post List" : { "-KUlvg8mCEGfY5ZSKCou" : { "addedByUser" : "7llQbPdy2NV7aO337h7ap0qLOhC3", "content" : "Post1", "cost" : "$450", "duration" : "Daily", …
3
votes
1 answer

GeoFire Swift 3 - Saving and Updating Coordinates

I'm trying to store coordinates into Firebase Database using GeoFire. I'm unsure how to update the new coordinates as they will be changed/updated every second. With the childByAutoId, it is generating a new unique ID for each Bike. How do I…
3
votes
2 answers

GeoFire giving problems with CocoaPods

I'm trying to add Geofire to my iOS project that uses Google Firebase as a backend. When I add the Geofire pod and run pod update I get this message in terminal... [!] Unable to satisfy the following requirements: - `Firebase` required by…
justColbs
  • 1,504
  • 2
  • 18
  • 28
3
votes
1 answer

How to set Geofire in node.js

I'm a newbie in NodeJS as well in Geofire. So, I want to know wheter is possible to set Geofire in NodeJS or not. I've tried to do the following: ... var geofire = require('geofire') var firebase = require('firebase'); var db = new…
blackjack
  • 1,081
  • 2
  • 13
  • 30
3
votes
1 answer

How to save data along with GeoFire location in firebase?

I'm developing an android app in which I would like to save the data with GeoFire location and then fetch it according to the location. The problem is that I'm not sure how to save the data along with GeoFire location, though I'm able to save it…