GeoPoint - how to pass accuracy?

(Nikita Krasnov) #1

I have such information for saving to ES in my json:

"geolocation": {
    "latitude": 50.443278299999996,
    "longitude": 30.5075698,
    "accuracy": 3966

geolocation in my Java object is GeoPoint (private GeoPoint geolocation). How I can pass an accuracy to GeoPoint? Or maybe there is another type for saving location with lat, lon and accuracy?

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.