I am a newbie in firebase. In my web app I have stored a set or coordinates in firebase. The structure looks like this:
{
"pointdata" : {
"-L0eZoI7sULutu5nVOgw" : {
"lat" : 42.76314586689492,
"lng" : -91.966552734375
},
"-L0eZoozb2cf7mC3DUTy" : {
"lat" : 41.72213058512578,
"lng" : -90.604248046875
},
"-L0eZp084Cs54IJ5IBoA" : {
"lat" : 41.41801503608025,
"lng" : -89.351806640625
},
"-L0eZpBHcXve-jEy_TYk" : {
"lat" : 41.94314874732696,
"lng" : -88.0224609375
},
"-L0eZpaftCzzM4EmXz4D" : {
"lat" : 42.72280375732727,
"lng" : -88.231201171875
}
}
}
I need these coordinates to be retrieved and stored as an array or arraylist:
{ [lat1, lng1] [lat2,lng2] .... }
Thanks in advance for any help