Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug double removed on a marker #232

Open
Johnlike05 opened this issue Apr 12, 2022 · 1 comment
Open

Bug double removed on a marker #232

Johnlike05 opened this issue Apr 12, 2022 · 1 comment

Comments

@Johnlike05
Copy link

[REQUIRED] Describe your environment

  • Operating System version: macOs 11.3.1
  • Browser version: Versión 98.0.4758.80
  • Firebase library firebase and version: "^9.6.1"
  • GeoFirestore version: "^5.0.0"

[REQUIRED] Describe the problem

Hi guys, first of all, thank you for this amazing package.

The bug is that:
I have a collection in a firebase project, which through a cloud function replicates the data to another collection in another project, I have an OnSnapshot pointing to the latter
In the Geofirestore query I send the center and the radius that is 1 km, when a document leaves the range it is removed and an event such as "removed" appears, when I put the latitude and longitude again within the range "removed" appears again and its oldIndex is -1 and new index is -1 too, this only happens when the latitude and longitude is within 1 to 2 km, if the outside latitude is greater than 2 km, it works perfectly;
I do not know if it is something in my code, but it does not seem to be so, if I change the location again within the range, it appears

Relevant Code

Captura de Pantalla 2022-04-11 a la(s) 8 04 44 p  m

Captura de Pantalla 2022-04-11 a la(s) 8 07 57 p  m

thanks for everything, and sorry if i made a mistake posting this, it's my first post

@Johnlike05 Johnlike05 changed the title Bug doble removed on a marker Bug double removed on a marker Apr 12, 2022
@Diego-Mike
Copy link

Same problem over here dude :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants