Adding a getGeoPoint function on Document