Firebase + Geofire (Key_moved)

41 views
Skip to first unread message

bent...@gmail.com

unread,
Jul 27, 2015, 4:02:08 AM7/27/15
to Firebase Google Group
Good morning,

Who call  geoQuery.on("key_moved") with update and no set (geoFire.set("some_key", [37.79, -122.41]).then(function() { console.log("Provided key has been added to GeoFire"); })?

Thank for you help.

Jacob Wenger

unread,
Jul 27, 2015, 11:47:18 AM7/27/15
to fireba...@googlegroups.com
Hey there,

Could you please rephrase your question? It's not clear what your question actually is. In general, the key_moved event will fire for any key which moves from one position in a GeoQuery to another positions within the GeoQuery.

Jacob

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/e2e2a54d-9ab7-402d-9320-af60adf56ef4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

bent...@gmail.com

unread,
Jul 27, 2015, 3:23:56 PM7/27/15
to Firebase Google Group, bent...@gmail.com

Do you have an example? Because with an update not working for me but with a sending it's ok.

(.set = key_moved, .update = no key_moved).

Sorry for my bad english.

Thank for you help.

Jacob Wenger

unread,
Jul 29, 2015, 12:33:31 PM7/29/15
to fireba...@googlegroups.com, bent...@gmail.com
Discussion was move to a duplicate Google Group thread. Please refrain from duplicating these threads in the future as it just makes it harder for everyone involved.

Jacob

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages