How can I write an array of coordinates to the Cloud Firestore as a GeoPoint datatype?
GeoPoint
I do have an arraylist points with coordin
arraylist points
You can write your coordinates in cloud firestore like this
Map map = new HashMap<>(); map.put("coordinates", Arrays.asList(points)); db.collection("REFERENCE").document("mDocumentId") .update(map);