I'm developing a native application on Android that uses maps, insertion is usually happening through the code below.
Location is a variable of type LatLng
.
mDataBase.child("location").child("Roubo").child(String.valueOf( new Date().getTime())).setValue(local);
It looks like this in Firebase:
ButIwouldlikethataftertheinsertionitstaysthatway,insteadofonlyhavinglatitudeandlongitude,Ialsohadadouble
calledscoreandthatlaterIwasabletoreadthisdata: