-1

I am using android fused location api to get the latitude and longitude of same position but every time i get different latitude and longitude of same position last 4 digits vary every time at same position why so and how to get all the possible latitude & longitude of same position.

So please help me regarding this.

Sharp Edge
  • 4,144
  • 2
  • 27
  • 41
Edward Collins
  • 353
  • 3
  • 13

1 Answers1

0

Location is generally accurate to only a city block, and will change within that. Try rounding off the coordinates to two decimal places and use those.

Ankit Bansal
  • 1,801
  • 17
  • 34
  • Rounding two decimal places will not work, because even if you move to some 10 to 20 meters away from the desired location, the first two decimals of lati & long will be same. – Arshad Shaik Mar 20 '19 at 09:01