Here's my DB. Whenever I use GeoFire to set a location, I use:
geoFire.setLocation("Marker", myLocation);
But I haven't figured out how I can get it under a parent. I want to store the values inside of "markerLocation" where it's under a child.
I've tried changing the key in setLocation() to exactly "markerLocation" instead of "Marker" but it still makes its own tree. For the tree, I have:
mDatabase.child("User").child("userID").setValue(user1.getId());
And I've tried to squeeze in setLocation in setValue but that doesn't work.
How can I set it so that it goes under a parent/child?