I am trying to save a location (both latitide and longitude) as one of the keys / fields in Firebase. In their SFVehicles example , they show how to request information stored, but my problem is how I can save in the first place.
In their blog post, GeoFire goes Mobile , they show what the data will look like - but how do I get this location filled in field?

I can save other types of strings in Firebase. I just use the code below. Question What data type should the location field have?
Firebase ref = new Firebase("https://myfirebaselink.firebaseio.com/"); //User alan = new User("Alan Turing", 1912); alanRef.setValue(obj);
I tried location as List<String> , but it didn’t work - the location field looked like this:

Edit: Further research found this post on the Google blog , but they are also saved as latitude1 and longitude keys . This probably was written before . This probably was written before GeoFire` was introduced.
java android firebase geofire
user1406716
source share