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
0
votes
1 answer

Can I use firebase's GeoFire with Priority in a single query?

I'd like to query my data with a query that will return me everything on a radius (geofire can find that alright) but also within a datetime window. At the moment I'm storing datetimes as priorities, so it's quite easy to query the array asking for…
STE
  • 656
  • 3
  • 8
  • 18
0
votes
1 answer

How can I bind the radius of my Geofire query in AngularFire?

I have a model in angularJS which is bound to firebase $scope.items=$firebase(blah) and I use ng-repeat to iterate through the items. Every item in firebase has a corresponding geofire location by the key of the item. How can I update my…
bosch
  • 1,089
  • 11
  • 16
0
votes
1 answer

using firebase geofire in IOS App

I am to looking for a quick way to implement a dynamic location based filtering of points of interest feature in an iOS App - where a user's location continuously changes and as a result the points of interest will continuously change. I see that…
everestman
  • 143
  • 1
  • 9
-1
votes
1 answer

Can't get near Users by my location with Firebase (GeoFire) and Swift

I want to get all Users near by my own Location. I wrote following code in the location Manager didUpdateLocation function. First I grabbed my own location as a CCLocationCoridnate2D. if let location = locations.last{ let center =…
user15262073
-1
votes
1 answer

i want to use GeoFire to Populate Firebase Recycler View in android

I am building a dating app and i want to find people near the location of the user so im using geofire but i dont know how to use it with recycler adapter this is my code FirebaseRecyclerOptions options = new…
-1
votes
1 answer

Requesting High Level Advice for RDMS Firebase Sharding With Ridesharing App

I have a Ridesharing app that is built with the Realtime Database. Like many apps, it tracks user locations and uses those in conjunction with the other users' locations. Scaling research indicates that over 200k connections, with the RDMS I need to…
-1
votes
2 answers

Preventing Duplicated Google Maps API Marker use ValueEventListener Firebase

I am trying to make a marker in my app using google maps api and I got the location from my RLTB Firebase. The location is always changing so that is why I was using ValueEventListener. I tried to setting the marker outside of ValueEvent but does…
-1
votes
1 answer

how can i count the available user in specific loaction radius with geofire query?

right now m using dataSnapshot.getChildrenCount but it only counts the node available in a child. here is my code GeoFire geoFire = new GeoFire(ref.child("Userlocation")); GeoQuery geoQuery = geoFire.queryAtLocation(new GeoLocation(latitude,…
sam
  • 216
  • 4
  • 17
-1
votes
1 answer

Geofire search in a very large firebase database android

what I'm trying to build is a map that support millions of markers. I worked on everything from clustering markers to load only visible markers using geoquery.atLocation and here it is my problem : geofire take a long time to search in a millions of…
naima
  • 129
  • 1
  • 12
-1
votes
1 answer

GeoFire Query on lists of data

I have my data for posts structured like this in Firebase Realtime Database: posts: key1: author: Jake location: g: xxxx 0: yyyy 1: yyyy key2: author: Daniel …
jacobsieradzki
  • 1,108
  • 2
  • 10
  • 32
-1
votes
1 answer

Execute a script only once in swift

On my application developed in swift, I would like to be able to execute a script once, it is a request GeoFire and I would like that it makes its request once then stops. I tried conditions and loops if ([name of the varialble] <= 1) { // Execute…
François
  • 67
  • 6
-1
votes
1 answer

Attempt to invoke virtual method 'double android.location.Location.getLatitude()' on a null object reference

I created the Maps Directions app, I managed to open my location to the destination location & click the GO button, Application then Force Close, I'm getting a NullPointerException in an Attempt to invoke virtual method double…
Tammam
  • 416
  • 1
  • 7
  • 16
-1
votes
1 answer

Does Geofire give new keys to each user?

I would like to use geofire for multiple location queries but don't know how to assign individual keys to each location. Does geofire automatically assign each user's location a different key? Here is my Geofire code: if (gps.canGetLocation()) { …
-1
votes
1 answer

Geofire callback error

I am trying to use the getLocation() method from GeoFire, and it requires two callbacks. However, I am having Method does not override method from its superclass error with the @Override onLocationResult() and onCancelled(). How to fix this? Note:…
ben
  • 159
  • 1
  • 4
  • 15
-1
votes
1 answer

How do I remove a key completely from Database

I want to completely remove a vehicle from geoFire, but when I run this: @Override public void onKeyExited(String key) { // Remove any old marker Marker marker = this.markers.get(key); if (marker != null) { …
Meir
  • 994
  • 12
  • 25
1 2 3
38
39